mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-12-01 03:27:59 +08:00
21 lines
426 B
TypeScript
21 lines
426 B
TypeScript
import path from 'path'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import {defineConfig} from 'vite'
|
|
|
|
import tailwind from 'tailwindcss'
|
|
import autoprefixer from 'autoprefixer'
|
|
|
|
export default defineConfig({
|
|
css: {
|
|
postcss: {
|
|
plugins: [tailwind(), autoprefixer()],
|
|
},
|
|
},
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
}
|
|
})
|