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 */
|
||||
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: {
|
||||
"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": {
|
||||
"@brojs/cli": "^1.0.0",
|
||||
"@brojs/create": "^1.0.0",
|
||||
"@brojs/frontend-init": "^1.0.0",
|
||||
"@ijl/cli": "^5.1.0",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
@ -20,4 +20,4 @@
|
||||
},
|
||||
"name": "enterfront",
|
||||
"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';
|
||||
|
||||
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 { BrowserRouter } from 'react-router-dom';
|
||||
|
||||
import { Dashboard } from './dashboard';
|
||||
|
||||
import './index.css'
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<h1>Hello world для проекта - enterfront</h1>
|
||||
);
|
||||
};
|
||||
return(
|
||||
<BrowserRouter>
|
||||
<Dashboard />
|
||||
</BrowserRouter>
|
||||
)
|
||||
}
|
||||
|
||||
export default App;
|
||||
export default App;
|
||||
|
Loading…
Reference in New Issue
Block a user