This is a module to recopile all the Web Components developed to VFES.
Allocate on the root directory of your project and execute:
npm i vfes-ui -g
To reach a first test example, the Web Components developed are:
- vfes-grid:
- vfes-button:
- vfes-counter:
Developed to execute test WC over differents libraries:
- Angular
- React
- Vue
- Publish to NPM
- Put a script tag similar to this
<script src='https://www.npmjs.com/package/vfes-ui@0.0.X/dist/mycomponent.js'></script>
in the head of your index.html - Then you can use the WC anywhere in your template, JSX, html etc
- Run
npm install vfes-ui --save
- Put a script tag similar to this
<script src='node_modules/vfes-ui/dist/mycomponent.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
- Run
npm install vfes-ui --save
- Add an import to the npm packages
import vfes-ui;
- Then you can use the element anywhere in your template, JSX, html etc