🐛 Corrige l'affichage de la doc sur publi.codes
parent
92ce23ac0e
commit
f53fd7ff45
|
@ -8,6 +8,7 @@
|
|||
"url": "https://github.com/betagouv/mon-entreprise.git",
|
||||
"directory": "mon-entreprise"
|
||||
},
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=12.16.1"
|
||||
},
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
// TODO : load translation only if en
|
||||
// TODO: This is need to display the documentation UI, because the translations
|
||||
// for UI components are handled in the mon-entreprise site and not in the
|
||||
// publicodes-react package. This should be fixed.
|
||||
import '../../../mon-entreprise/source/locales/i18n'
|
||||
import 'Components/ui/index.css'
|
||||
import 'iframe-resizer'
|
||||
import { useEffect } from 'react'
|
||||
import { hot } from 'react-hot-loader'
|
||||
import { Route, Switch } from 'react-router-dom'
|
||||
import Provider from './Provider'
|
||||
import Communauté from '../pages/Communauté'
|
||||
import Documentation from '../pages/Documentation'
|
||||
import { Header } from './Header'
|
||||
import Landing from '../pages/Landing'
|
||||
import { Header } from './Header'
|
||||
import LazyStudio from './LazyStudio'
|
||||
import Provider from './Provider'
|
||||
|
||||
function Router() {
|
||||
return (
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"description": "Site web de publicodes",
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prepare": "echo 1",
|
||||
"test": "echo 1"
|
||||
|
|
Loading…
Reference in New Issue