This repo has example projects for running the new IDS web-component version components in other frameworks like React, Angular and Vue.js. The hope is to be able to use the web components directly along with types include in the Web component project.
Initially we want to test three projects with a preliminary tag component. We will test the following criteria
- Uses stackblitz.com starter project which can be downloaded as a locale project but we want simple starter projects and to share them in here.
- Show a tag in the page bound to data in the test framework
- Show use of the tag component
- Consider 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 like loops or text values
- Research common framework features (forms ect)
- Test the type file is working as expected
- Make a test that includes the component
- In the enterprise-wc project run
npm run build
to build the assets intodist/
- In the enterprise-wc project run
npm link
to set up the symbolic link - Go to on of these project folders (for example typescript-ids-wc) and type
npm link ids-enterprise-wc
Starter Project: https://stackblitz.com/edit/vue See README
Starter Project: https://stackblitz.com/edit/react-un5ayt See README