fix
This commit is contained in:
parent
a482be764b
commit
d7de0c4353
@ -9,7 +9,12 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
/* use https://admin.bro-js.ru/ to create config, navigations and features */
|
/* use https://admin.bro-js.ru/ to create config, navigations and features */
|
||||||
navigations: {
|
navigations: {
|
||||||
"enterfront.main": "/enterfront",
|
'enterfront.main': '/enterfront',
|
||||||
|
'enterfront.home': '/enterfront/home',
|
||||||
|
'enterfront.auth': '/enterfront/auth',
|
||||||
|
'enterfront.reg': '/enterfront/reg',
|
||||||
|
'enterfront.account': '/enterfront/account',
|
||||||
|
'enterfront.chat': '/enterfront/chat',
|
||||||
},
|
},
|
||||||
features: {
|
features: {
|
||||||
"enterfront": {
|
"enterfront": {
|
||||||
|
1192
package-lock.json
generated
1192
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@brojs/cli": "^1.0.0",
|
||||||
"@brojs/create": "^1.0.0",
|
"@brojs/create": "^1.0.0",
|
||||||
"@brojs/frontend-init": "^1.0.0",
|
|
||||||
"@ijl/cli": "^5.1.0",
|
"@ijl/cli": "^5.1.0",
|
||||||
"@types/react": "^18.3.5",
|
"@types/react": "^18.3.5",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
@ -20,4 +20,4 @@
|
|||||||
},
|
},
|
||||||
"name": "enterfront",
|
"name": "enterfront",
|
||||||
"version": "0.2.1"
|
"version": "0.2.1"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { getNavigations, getNavigationsValue } from '@ijl/cli';
|
import { getNavigations, getNavigationsValue } from '@brojs/cli';
|
||||||
import pkg from '../../package.json';
|
import pkg from '../../package.json';
|
||||||
|
|
||||||
const baseUrl = getNavigationsValue(`${(pkg as any).name}.main`);
|
const baseUrl = getNavigationsValue(`${(pkg as any).name}.main`);
|
||||||
|
17
src/app.tsx
17
src/app.tsx
@ -1,9 +1,16 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
|
|
||||||
|
import { Dashboard } from './dashboard';
|
||||||
|
|
||||||
|
import './index.css'
|
||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
return (
|
return(
|
||||||
<h1>Hello world для проекта - enterfront</h1>
|
<BrowserRouter>
|
||||||
);
|
<Dashboard />
|
||||||
};
|
</BrowserRouter>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
Loading…
Reference in New Issue
Block a user