This repo contains example projects showing how to run the new IDS web components in other frameworks. The goal of the web components is that you can use them in these frameworks without any use of wrappers or containing code.
General Tests
- Show a component in the page bound to data
- Show use of the component work similar to the component alone example
- Consider special specific framework key features and document things we should probably want to do. For example for Angular:
- Provide binding to the model for values
- Catching and handling events emitted
- Setting and changing settings (color for example)
- Templating loops
- Research common framework features (reactive forms for example)
- Test the types are visible
- Show a unit test(s) that includes the component
See the WebComponents documentation about NPM Link for more information ed Frameworks.
For any framework, note that the production package in npm does not contain map files for size and security reasons. In order to debug you will have to use the debug/development package build.
- Clone the repo https://github.com/infor-design/enterprise-wc
- Run:
npm i
npm run build:dist
- The copy the files from
build/dist/development
tonode_modules/ids-enterprise
replacing the contents - The re-run and debug
Starter Project: https://stackblitz.com/edit/vue See README
Starter Project: https://stackblitz.com/edit/svelte See README
Starter Project: https://stackblitz.com/edit/react-un5ayt See README