vfes-ui
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Built With Stencil

VFES-UI

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

Components

To reach a first test example, the Web Components developed are:

  • vfes-grid:
  • vfes-button:
  • vfes-counter:

Proof of Concept

Developed to execute test WC over differents libraries:

  • Angular
  • React
  • Vue

Using Web Components

Script tag

  • 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

Node Modules

  • 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

In a stencil-starter app

  • 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

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i vfes-ui

    Weekly Downloads

    32

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    782 kB

    Total Files

    101

    Last publish

    Collaborators

    • webplatform