一键登录模块

This commit is contained in:
唐明明
2021-07-23 14:30:06 +08:00
parent 564ed944d4
commit 8407323932
23 changed files with 4088 additions and 50 deletions

View File

@@ -8,7 +8,7 @@ module.exports = {
new webpack.DefinePlugin({
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
const tfPages = new TransformPages({
includes: ['path', 'name', 'aliasPath']
includes: ['path', 'name', 'meta']
});
return JSON.stringify(tfPages.routes)
}, true )