工作台

This commit is contained in:
唐明明
2022-12-26 09:31:55 +08:00
parent f7d357f738
commit 1f3f6b230a
218 changed files with 19796 additions and 0 deletions

22
vue.config.js Normal file
View File

@@ -0,0 +1,22 @@
const TransformPages = require('uni-read-pages')
const {
webpack
} = new TransformPages()
module.exports = {
transpileDependencies: ['uview-ui'],
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
const tfPages = new TransformPages({
includes: ['path', 'name', 'aliasPath', 'auth']
});
return JSON.stringify(tfPages.routes)
}, true)
})
]
}
}