Vue 3 boilerplate - Vite, Pinia, Vue Router & Tailwind CSS
This boilerplate used Vue3, pinia, tailwindCSS, Vite. 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.
Dependencies
Stack
- Vue 3.2
- Pinia 2.0
- Router 4.1
- Tailwind CSS 3.1
- eslint 8.5
- prettier 2.5
Additionally I added vite-svg-loader for easier SVG imports.
Install
git clone https://github.com/smart92dev/vue3-pinia-boilerplate.git
then
cd vue3-pinia-boilerplate
npm install
Run / Develop
npm run dev
Build
npm run build
Preview
npm run preview
Lint
npm run lint