25 lines
426 B
Markdown
25 lines
426 B
Markdown
npm create vite@latest frontend -- --template vue
|
|
|
|
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
|
|
|
|
npx tailwindcss init -p
|
|
|
|
//tailwind.config.js
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{vue,js,ts,jsx,tsx}",
|
|
],
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [],
|
|
}
|
|
|
|
//style.css
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities; |