vite + vue3 + ts
项目初始化
// 使用 Vite 创建项目
npm init @vitejs/app XXX
选择 Vue + TS后,
cd XXX
npm install
npm run dev
一般到这一步,项目就已经初始化成功了。
但是也可能会在 npm run dev 的过程中报错,如下
XXX/node_modules/esbuild/bin/esbuild:2
throw new Error(`esbuild: Failed to install correctly
^
Error: esbuild:


