2024-10-22 19:30:12 +03:00
|
|
|
const pkg = require("./package");
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
apiPath: "stubs/api",
|
|
|
|
webpackConfig: {
|
|
|
|
output: {
|
|
|
|
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/* use https://admin.bro-js.ru/ to create config, navigations and features */
|
|
|
|
navigations: {
|
|
|
|
"nav1.main": "/nav1",
|
2024-10-22 20:50:36 +03:00
|
|
|
"link.nav1.about": "/",
|
2024-10-24 20:04:54 +03:00
|
|
|
"link.nav1.profile": "/my-best-profile-page-ever/:userId/:projectId",
|
2024-10-24 18:51:40 +03:00
|
|
|
"nav2.main": "/nav2",
|
2024-10-22 19:30:12 +03:00
|
|
|
},
|
|
|
|
features: {
|
|
|
|
"nav1": {
|
|
|
|
// add your features here in the format [featureName]: { value: string }
|
|
|
|
},
|
|
|
|
},
|
|
|
|
config: {
|
|
|
|
"nav1.api": "/api",
|
|
|
|
},
|
|
|
|
};
|