feat: 刷题页面
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
const path = require('path')
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
'@assets': path.resolve(__dirname, 'src/assets'),
|
||||
'@views': path.resolve(__dirname, 'src/views'),
|
||||
'@utils': path.resolve(__dirname, 'src/utils'),
|
||||
'@components': path.resolve(__dirname, 'src/components')
|
||||
}
|
||||
},
|
||||
plugins: [react()]
|
||||
})
|
||||
|
Reference in New Issue
Block a user