Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion framework/elsa/fit-elsa-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
".": {
"import": "./build/elsa-react.js",
"require": "./build/elsa-react.umd.cjs"
}
},
"./locales/en.json": "./src/i18n/en_US.json",
"./locales/zh.json": "./src/i18n/zh_CN.json"
},
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion framework/elsa/fit-elsa-react/src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import ReactDOM from 'react-dom/client';
import App from './App.jsx';
import i18n from './i18n.js';
import i18n from './i18n/i18n.js';

ReactDOM.createRoot(document.getElementById('root')).render(
// 打开strictMode会导致每个组件被加载两次,测试某些功能时可以打开
Expand Down