npm create vite@latest vue-admin -- --template vue
cd vue-admin
npm i
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
npm install --save element-plus
npm install --save vue-router
npm install --save vue-i18n
npm install --save pinia
npm install --save axios
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).