# npm 6.x
npm create [email protected] my-vue-app --template vue
# npm 7+, extra double-dash is needed:
npm create [email protected] my-vue-app -- --template vue
# yarn
yarn create vite my-vue-app --template vue
# pnpm
pnpm create vite my-vue-app --template vue
模板:vanilla,vanilla-ts,vue,vue-ts,react,react-ts,preact,preact-ts,lit,lit-ts,svelte,svelte-ts