You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
17 lines
457 B
12 months ago
|
//vue.config.js
|
||
|
// const TransformPages = require('uni-read-pages')
|
||
|
// const {webpack} = new TransformPages()
|
||
|
// module.exports = {
|
||
|
// configureWebpack: {
|
||
|
// plugins: [
|
||
|
// new webpack.DefinePlugin({
|
||
|
// ROUTES: webpack.DefinePlugin.runtimeValue(() => {
|
||
|
// const tfPages = new TransformPages({
|
||
|
// includes: ['path', 'name', 'aliasPath']
|
||
|
// });
|
||
|
// return JSON.stringify(tfPages.routes)
|
||
|
// }, true )
|
||
|
// })
|
||
|
// ]
|
||
|
// }
|
||
|
// }
|