• Product Introduction
  • Quick Start
    • Importing a Git Repository
    • Starting From a Template
    • Direct Upload
    • Start with AI
  • Framework Guide
    • Frontends
    • Backends
    • Full-stack
      • Next.js
      • Nuxt
      • Astro
      • React Router
      • SvelteKit
    • Custom 404 Page
  • Project Guide
    • Project Management
    • edgeone.json
    • Configuring Cache
    • Error Codes
  • Build Guide
  • Deployment Guide
    • Overview
    • Create Deploys
    • Manage Deploys
    • Deploy Button
    • Using Github Actions
    • Using CNB Plugin
    • Using IDE PlugIn
    • Using CodeBuddy IDE
  • Domain Management
    • Overview
    • Custom Domain
    • HTTPS Configuration
      • Overview
      • Apply for Free Certificate
      • Using Managed SSL Certificate
    • Configure DNS CNAME Record
  • Observability
    • Overview
    • Metric Analysis
    • Log Analysis
  • Pages Functions
    • Overview
    • Edge Functions
    • Cloud Functions
      • Overview
      • Node Functions
  • KV Storage
  • Edge AI
  • API Token
  • EdgeOne CLI
  • Pages MCP
  • Integration Guide
    • AI
      • Dialogue Large Models Integration
      • Large Models for Images Integration
    • Database
      • Supabase Integration
      • Pages KV Integration
    • Ecommerce
      • Shopify Integration
      • WooCommerce Integration
    • Payment
      • Stripe Integration
      • Integrating Paddle
    • CMS
      • WordPress Integration
      • Contentful Integration
      • Sanity Integration
    • Authentication
      • Supabase Integration
      • Clerk Integration
  • Best Practices
    • Using General Large Model to Quickly Build AI Application
    • Use the DeepSeek model to quickly build a conversational AI site
    • Building an Ecommerce Platform with Shopify
    • Building a SaaS Site Using Supabase and Stripe
    • Building a Company Brand Site Quickly
    • How to Quickly Build a Blog Site
  • Migration Guides
    • Migrating from Vercel to EdgeOne Pages
    • Migrating from Cloudflare Pages to EdgeOne Pages
    • Migrating from Netlify to EdgeOne Pages
  • Troubleshooting
  • FAQs
  • Contact Us
  • Release Notes

Frontends

EdgeOne Pages offers high-quality support for popular front-end frameworks, optimizing your website building and functioning experience. In most cases, no additional configuration is needed to complete the deployment.



Learn about the build command and output directory so that the deployment can make smooth progress.

Build command: This is the command to be executed during project build, such as npm run build. The build command will run in the Bash shell and use Bash-compatible syntax.
Output directory: The directory containing deployable HTML files and resources generated after build. This directory is relative to the project directory, which is the root directory (/) by default. Please ensure the specified output directory includes ALL necessary files to enable smooth deployment by Pages.

Next, we will show the basic configuration of each framework to help you quickly deploy on Pages.

Note:
Pages fully support multiple rendering modes of full-stack frameworks like Next.js, including SSR, ISR, and SSG. For usage, see document framework guide - Full Stack.


React.js

Features: React.js is a JavaScript library for building user interfaces, suitable for building SPAs and complex user interfaces.

Default build settings are as follows:
Build command: npm run build
Output directory: build

Usage recommendations: Underwrite all dependencies are installed before build and use npm start to develop locally.


Vue.js

Features: Vue.js is a progressive framework, easy to use and suitable for rapid development and prototype design.

Default build settings are as follows:
Build command: npm run build
Output directory: dist

Usage recommendations: Use Vue CLI to create a project, which can automatically configure build settings.


Docusaurus

Features: Docusaurus is a framework that focuses on documentation websites, providing a good default style and features.

Default build settings are as follows:
Build command: npm run build
Output directory: build

Usage recommendations: Suitable for building technical documentation and blogs, write content in Markdown format.


Angular

Features: Angular is a powerful front-end framework suitable for building large enterprise-level applications.

Default build settings are as follows:
Build command: npm run build
Output directory: dist/angular/browser

Usage recommendations: Use Angular CLI to create project and underwrite following best practice.


Gatsby

Features: Gatsby is a React-based static site generator that focuses on performance and SEO.

Default build settings are as follows:
Build command: npm run build
Output directory: public

Usage recommendations: Leverage the plugin ecosystem to enhance site functionality.


Hexo

Features: Hexo is a fast, simple blog framework based on Node.js.

Default build settings are as follows:
Build command: hexo generate
Output directory: public

Usage recommendations: Use themes and plug-ins to customize blog appearance and features.


Qwik

Features: Qwik is an emerging framework that focuses on ultimate performance and fast loading.

Default build settings are as follows:
Build command: npm run build
Output directory: dist

Usage recommendations: Suitable for high-performance applications. Focus on user experience.


Remix

Features: Remix is a modern React framework that supports server-side rendering and data access.

Default build settings are as follows:
Build command: npm run build
Output directory: build/client

Usage recommendations: Leverage Remix's data loading function to optimize page performance.


Solid

Features: Solid is a high-performance front-end framework that focuses on reactive programming.

Default build settings are as follows:
Build command: npm run build
Output directory: dist

Usage recommendations: Suitable for applications requiring efficient rendering. Focus on component performance.
ai-agent
You can ask me like
How to Get Started with EdgeOne Pages?