react-router-dom
This commit is contained in:
+11
-9
@@ -1,22 +1,24 @@
|
||||
const pkg = require('./package')
|
||||
const pkg = require("./package");
|
||||
|
||||
module.exports = {
|
||||
apiPath: 'stubs/api',
|
||||
apiPath: "stubs/api",
|
||||
webpackConfig: {
|
||||
output: {
|
||||
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`
|
||||
}
|
||||
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
|
||||
},
|
||||
},
|
||||
/* use https://kc.admin.inno-js.ru/ to create config, navigations and features */
|
||||
navigations: {
|
||||
'r-and-m.main': '/r-and-m'
|
||||
"r-and-m.main": "/r-and-m",
|
||||
"r-and-m.search": "/search",
|
||||
"r-and-m.character.detail": "/char/:charId"
|
||||
},
|
||||
features: {
|
||||
'r-and-m': {
|
||||
"r-and-m": {
|
||||
// add your features here in the format [featureName]: { value: string }
|
||||
},
|
||||
},
|
||||
config: {
|
||||
key: 'value'
|
||||
}
|
||||
}
|
||||
key: "value",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user