Vue
Vue.js is a progressive JavaScript framework to build user interfaces. It uses declarative rendering and component-based development mode, with efficient updates through responsive data binding and virtual DOM. The Vue core library focuses on the view layer and allows for easy integration. Its design balances flexibility and engineering, supporting two coding styles: Options API and Composition API, suitable for diverse scenarios from light interaction to large single-page applications.
If you want to quickly experience Vue, here are some templates based on Vue deployment:
You can also use
npm create vue@latest my-vue-app to build a Vue project. The projects created will be used based on Vite build settings. The following content will introduce how to execute command to build project and deploy to EdgeOne Pages.Creating a Vue Application
We use Vite officially recommended by Vue. Once created, the project starts up and updates fast with simple and intuitive configuration.
1. Ensure ^20.19.0 || >=22.12.0 version of Node.js is installed.
2. Run in the terminal:
npm create vue@latest my-vue-app
3. Select the required feature based on interactive prompts.

4. Enter the project and start up.
cd my-vue-appnpm installnpm run dev
Deploy a Project
Deploying Git
Deploying CLI
You can also install the scaffolding tool for Pages. For detailed installation and usage, refer to EdgeOne CLI. Once configured, use the
edgeone pages deploy command to deploy the project. During deployment, the CLI will first auto-build the project, then upload and publish the build artifacts.
