🐛 Corrige l'affichage de la doc sur publi.codes

pull/1325/head
Maxime Quandalle 2020-12-19 15:08:22 +01:00
parent 92ce23ac0e
commit f53fd7ff45
3 changed files with 8 additions and 4 deletions

View File

@ -8,6 +8,7 @@
"url": "https://github.com/betagouv/mon-entreprise.git",
"directory": "mon-entreprise"
},
"private": true,
"engines": {
"node": ">=12.16.1"
},

View File

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

View File

@ -4,6 +4,7 @@
"description": "Site web de publicodes",
"author": "",
"license": "MIT",
"private": true,
"scripts": {
"prepare": "echo 1",
"test": "echo 1"