Add cms id to master root
This commit is contained in:
parent
f2bf4bf7ba
commit
84613f3571
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@simplecms/simple-cms-core",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"license": "MIT",
|
||||
"description": "Simple CMS core application.",
|
||||
"repository": "https://github.com/SimpleCMS/simple-cms",
|
||||
@ -23,7 +23,7 @@
|
||||
"lint:format": "prettier \"{{src,scripts,website}/**/,}*.{js,jsx,ts,tsx,css}\" --list-different",
|
||||
"lint:js": "eslint --color --ignore-path .gitignore \"{{src,scripts,website}/**/,}*.{js,jsx,ts,tsx}\"",
|
||||
"lint": "run-p -c --aggregate-output \"lint:*\"",
|
||||
"prepare": "yarn build",
|
||||
"prepublishOnly": "yarn build",
|
||||
"start": "run-s clean develop"
|
||||
},
|
||||
"module": "dist/esm/index.js",
|
||||
|
2
src/bootstrap.js
vendored
2
src/bootstrap.js
vendored
@ -21,6 +21,7 @@ const ROOT_ID = 'nc-root';
|
||||
|
||||
function TranslatedApp({ locale, config }) {
|
||||
return (
|
||||
<div id="cms">
|
||||
<I18n locale={locale} messages={getPhrases(locale)}>
|
||||
<ErrorBoundary showBackup config={config}>
|
||||
<Router history={history}>
|
||||
@ -28,6 +29,7 @@ function TranslatedApp({ locale, config }) {
|
||||
</Router>
|
||||
</ErrorBoundary>
|
||||
</I18n>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user