🐞 fixed Vite/ Tailwind build
This commit is contained in:
		| @@ -17,17 +17,17 @@ | ||||
| 		"vue-router": "4.0.5" | ||||
| 	}, | ||||
| 	"devDependencies": { | ||||
| 		"@tailwindcss/jit": "0.1.17", | ||||
| 		"@tailwindcss/jit": "0.1.18", | ||||
| 		"@tailwindcss/aspect-ratio": "0.2.0", | ||||
| 		"@tailwindcss/forms": "0.3.2", | ||||
| 		"@tailwindcss/line-clamp": "0.2.0", | ||||
| 		"@tailwindcss/typography": "0.4.0", | ||||
| 		"@vitejs/plugin-vue": "1.2.0", | ||||
| 		"@vue/compiler-sfc": "3.0.9", | ||||
| 		"@vitejs/plugin-vue": "1.2.1", | ||||
| 		"@vue/compiler-sfc": "3.0.10", | ||||
| 		"autoprefixer": "10.2.5", | ||||
| 		"tailwindcss": "2.0.4", | ||||
| 		"release-it": "14.5.0", | ||||
| 		"vite": "2.1.3" | ||||
| 		"vite": "2.1.5" | ||||
| 	}, | ||||
| 	"release-it": { | ||||
| 		"git": { | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| module.exports = { | ||||
|   plugins: { | ||||
|     tailwindcss: {}, | ||||
|     '@tailwindcss/jit': {}, | ||||
|     autoprefixer: {}, | ||||
|   }, | ||||
| } | ||||
|   | ||||
| @@ -1,11 +1,11 @@ | ||||
| module.exports = { | ||||
|   purge: [], | ||||
|   darkMode: "media", // or 'media' or 'class' | ||||
|   theme: { | ||||
|     extend: {}, | ||||
|   }, | ||||
|   variants: { | ||||
|     extend: {}, | ||||
|   }, | ||||
|   plugins: [], | ||||
| } | ||||
| 	purge: [ './index.html', './src/**/*.{vue,js,ts,jsx,tsx}' ], | ||||
| 	darkMode: 'media', // or 'media' or 'class' | ||||
| 	theme: { | ||||
| 		extend: {} | ||||
| 	}, | ||||
| 	variants: { | ||||
| 		extend: {} | ||||
| 	}, | ||||
| 	plugins: [] | ||||
| }; | ||||
|   | ||||
| @@ -4,6 +4,7 @@ import path from 'path'; | ||||
|  | ||||
| export default defineConfig({ | ||||
| 	plugins: [ vue() ], | ||||
| 	base: './', | ||||
| 	resolve: { | ||||
| 		alias: { | ||||
| 			'@': path.resolve(__dirname, '/src') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user