feature: 修改vite.config.js注释
This commit is contained in:
@@ -52,8 +52,8 @@ export default ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
base: '/', // index.html文件所在位置
|
base: '/', // 编译后js导入的资源路径
|
||||||
root: './', // js导入的资源路径,src
|
root: './', // index.html文件所在位置
|
||||||
publicDir: 'public', // 静态资源文件夹
|
publicDir: 'public', // 静态资源文件夹
|
||||||
resolve: {
|
resolve: {
|
||||||
alias,
|
alias,
|
||||||
|
Reference in New Issue
Block a user