2.0.1 • Published 7 years ago

new-cui-demo v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

Built With Stencil

Stencil Component Demo for Scania Corporate UI

The demo is made using stencil-component-starter.

Using this component

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/new-cui-demo@version-number/dist/new-cui-demo.js'></script> in the head of your index.html
  • Put a link tag similar to this <link rel="stylesheet" href="https://unpkg.com/new-cui-demo@version-number/dist/new-cui-demo.css"> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install new-cui-demo --save
  • Put a script tag similar to this <script src='node_modules/new-cui-demo/dist/new-cui-demo.js'></script> in the head of your index.html
  • Put a script tag similar to this <link rel="stylesheet" href='node_modules/new-cui-demo/dist/new-cui-demo.css'> 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 new-cui-demo --save
  • Add an import to the npm packages import new-cui-demo;
  • Import the css new-cui-demo.css file as well
  • Then you can use the element anywhere in your template, JSX, html etc
2.0.1

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago