1.mock
plugins: [
vue(),
viteMockServe({
mockPath: "./src/mock",
logger: false,
supportTs: false
})
],
alias: {
'@': path.resolve(__dirname, './src')
},
server: {
port: 9002,
open: true
},
plugins: [
vue(),
viteMockServe({
mockPath: "./src/mock",
logger: false,
supportTs: false
})
],
alias: {
'@': path.resolve(__dirname, './src')
},
server: {
port: 9002,
open: true
},
本文标题:108.vite.config
本文链接:https://www.haomeiwen.com/subject/knoasrtx.html
网友评论