Use npm init vue@next to quickly create a vue3 project

1. Execute the command: npm init vue@next

√ Project name: Project name
√ Add TypeScript? Do you use TypeScript
√ Add JSX Support? Do you use JSX
√ Add Vue Router for Single Page Application development? Do you add a simple page
√ Add Vuex for state management? Do you add vuex
√ Add Cypress for testing? whether to add automated test cypress

running result

 2. Execute the command: npm install

running result

  3. Execute the command: npm run dev

running result

For more detailed study, please refer to: Vue releases a new version of scaffolding tool, 300 lines of code are light and new! 

Example source code: Mobile VUE3 project: A simple mobile VUE3 project, using vantUI, mockjs, typescript, etc.

PC-side vue3+typescript+viewui management system: https://gitee.com/huanglgln/vue-sys-manage

Guess you like

Origin blog.csdn.net/huanglgln/article/details/121516455