搭建vue3脚手架

vite搭建脚手架:

npm init vite@latest
(y) y
vite-demo
Vue
TypeScript

vue搭建脚手架:

PS D:\personalSite> npm init vue@latest
npm WARN config global --global, --local are deprecated. Use --location=global instead.
Need to install the following packages:
create-vue@3.3.4
Ok to proceed? (y) y

Vue.js - The Progressive JavaScript Framework

√ Project name: ... vue3-demo
√ Add TypeScript? ... No / Yes
√ Add JSX Support? ... No / Yes
√ Add Vue Router for Single Page Application development? ... No / Yes
√ Add Pinia for state management? ... No / Yes
√ Add Vitest for Unit Testing? ... No / Yes
√ Add Cypress for End-to-End testing? ... No / Yes
√ Add ESLint for code quality? ... No / Yes
√ Add Prettier for code formatting? ... No / Yes

posted @ 2022-11-23 12:36  Cherishe  阅读(578)  评论(0)    收藏  举报