Browse Source

require('./routes').entry

release_0.0.4
巴林闲侠 2 years ago
parent
commit
9898e690cf
  1. 8
      web/config.js

8
web/config.js

@ -44,7 +44,13 @@ const product = {
}, {
entry: require('./client').entry,// 静态信息
opts: {}
}],
}, {
entry: require('./routes').entry,
opts: {
apiUrl: FS_UNIAPP_API,
staticRoot: './client',
}
},],
logger: {
level: 'debug',
json: false,

Loading…
Cancel
Save