mov-fe-lib-code-editor 1.0.7
Install from the command line:
Learn more about npm packages
$ npm install @mov-ai/mov-fe-lib-code-editor@1.0.7
Install via package.json:
"@mov-ai/mov-fe-lib-code-editor": "1.0.7"
About this version
Mov.ai's library to expose Code Editors
- MonacoCodeEditor
Open the project in VS Code and then choose to reopen in container. Once the container is ready, open a new terminal inside VS Code and run
npm ci
npm start
Note: ~/.npmrc must be previously configured with access to github
During development requests are proxied using http-proxy-middleware. Edit src/setupProxy.js to add more endpoints.
Add the package "movai-adminboard" to the robot's configuration file. Then apply the changes and update the frontend.
movai-cli apply robot.json
movai-cli frontend <robot name>
When running the lib-scene locally from IDE or another app, you might have an issue with invalid hooks with the following message: "Error: Invalid hook call. Hooks can only be called inside of the body of a function component."
To fix it, stop the development server of IDE (or the other app), stop the buildDev of lib-scene and run the following command in lib-scene repository root:
npm link ../<app_directory_name>/node_modules/react
Details
- mov-fe-lib-code-editor
-
MOV-AI
- about 3 years ago
- ISC
- 30 dependencies
Assets
- mov-fe-lib-code-editor-1.0.7-npm.tgz
Download activity
- Total downloads 270
- Last 30 days 0
- Last week 0
- Today 0