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.
npm init vite my-project cd my-project
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
module.exports = { content: [ "./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }
@tailwind base; @tailwind components; @tailwind utilities;
import { createApp } from 'vue' import App from './App.vue' import './index.css'
createApp(App).mount('#app')
npm run dev