2 Star 28 Fork 14

故时旅人/BM导航

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
vite.config.ts 559 Bytes
Copy Edit Raw Blame History
故时旅人 authored 2023-08-31 16:09 . 4.4.1
import react from '@vitejs/plugin-react'
import autoprefixer from 'autoprefixer'
import { resolve } from 'path'
import tailwindcss from 'tailwindcss'
import { defineConfig } from 'vite'
const pathResolve = dir => resolve(__dirname, '.', dir)
export default defineConfig({
base: './',
plugins: [react()],
resolve: {
alias: {
'@': pathResolve('./src/'),
'~img': pathResolve('./src/assets/img')
}
},
css: {
postcss: {
plugins: [
tailwindcss as any,
autoprefixer({
overrideBrowserslist: ['last 2 versions']
})
]
}
}
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/robin901118/homepage_navigation.git
git@gitee.com:robin901118/homepage_navigation.git
robin901118
homepage_navigation
BM导航
master

Search

344bd9b3 5694891 D2dac590 5694891