nav2/bro.config.js
Primakov Alexandr Alexandrovich 05b5843c08 forms
2025-01-14 18:28:30 +03:00

32 lines
714 B
JavaScript

/* eslint-disable no-undef */
/* eslint-disable @typescript-eslint/no-require-imports */
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: {
'nav2.main': '/nav2',
'link.nav2.by': '/by/:userId',
},
features: {
nav2: {
// add your features here in the format [featureName]: { value: string }
stars: {
value: '8',
},
buttons: {
value: 'true',
},
},
},
config: {
"dry-wash.api.url": "/api"
},
}