@@ -23,6 +23,7 @@ Once you've chosen a deployment target, you can follow the deployment guidelines
2323- [ ` node-server ` ] ( #nodejs--docker ) : Deploy to a Node.js server
2424- [ ` bun ` ] ( #bun ) : Deploy to a Bun server
2525- [ ` appwrite-sites ` ] ( #appwrite-sites ) : Deploy to Appwrite Sites
26+ - [ ` edgeone-pages ` ] ( #edgeone-pages ) : Deploy to EdgeOne Pages
2627- ... and more to come!
2728
2829### Cloudflare Workers ⭐ _ Official Partner_
@@ -444,3 +445,48 @@ In your Appwrite project, navigate to the **Sites** page from the sidebar. Click
4444455 . Click ** Deploy**
445446
446447After successful deployment, click the ** Visit site** button to see your deployed application.
448+
449+ ### EdgeOne Pages
450+
451+ <a href =" https://pages.edgeone.ai " alt =" EdgeOne Pages Logo " >
452+ <picture >
453+ <source media="(prefers-color-scheme: dark)" srcset="https://pages.edgeone.ai/_next/static/media/WhiteHeadLogo.51cd0d20.svg?auto=format&fit=max&w=3840" width="280">
454+ <source media="(prefers-color-scheme: light)" srcset="https://pages.edgeone.ai/_next/static/media/BlackHeadLogo.65710e40.svg?auto=format&fit=max&w=3840" width="280">
455+ <img alt="EdgeOne Pages logo" src="https://pages.edgeone.ai/_next/static/media/BlackHeadLogo.65710e40.svg?auto=format&fit=max&w=3840" width="280">
456+ </picture >
457+ </a >
458+
459+ To deploy TanStack Start on EdgeOne Pages, follow the steps below:
460+
461+ 1 . Install the EdgeOne adapter
462+
463+ ``` bash
464+ pnpm add @edgeone/tanstack-start
465+ ```
466+
467+ 2 . Configure Vite
468+
469+ ``` ts
470+ // vite.config.ts
471+ import { defineConfig } from ' vite'
472+ import { tanstackStart } from ' @tanstack/react-start/plugin/vite'
473+ import viteReact from ' @vitejs/plugin-react'
474+ import edgeoneAdapter from ' @edgeone/tanstack-start'
475+
476+ export default defineConfig ({
477+ plugins: [tanstackStart (), viteReact (), edgeoneAdapter ()],
478+ })
479+ ```
480+
481+ 3 . Deploy
482+
483+ Push your code to GitHub or GitLab, then connect your repository in EdgeOne Pages. Alternatively, use EdgeOne CLI to deploy directly:
484+
485+ ``` bash
486+ edgeone pages deploy
487+ ```
488+
489+ EdgeOne Pages supports SSR, SSG, SPA, route loaders, server functions, file-based routing, and streaming.
490+
491+ For more details, visit the [ EdgeOne Pages TanStack Start documentation] ( https://pages.edgeone.ai/zh/document/framework-tanstack-start ) .
492+
0 commit comments