This commit is contained in:
Nikolai Petukhov 2024-09-20 16:10:14 +03:00
parent a482be764b
commit d7de0c4353
5 changed files with 1189 additions and 33 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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`);

View File

@ -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>
);
};
<BrowserRouter>
<Dashboard />
</BrowserRouter>
)
}
export default App;