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
原文地址:http://www.cnblogs.com/strundent/p/16917898.html