This boilerplate was created as part of my custom Vue 3 boilerpalte tutorial. It will 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.
- Vue
- Pinia
- Vue Router
- Tailwind CSS
- eslint
- prettier
- cssnano
npm i @richardev/vue3-boilerplate
or
git clone https://github.com/richardevcom/vue3-boilerplate.git
then
cd vue3-boilerplate
npm install
VSCode + Volar (and disable Vetur) + Tailwind CSS Intellisense.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint