0.8.0 • Published 5 years ago
@uipoc/assign-users v0.8.0
assign-users as a stencil component.
NOTE: Shadow DOM is switched off (see src/components/assign-users/assign-users.tsx
):
@Component({
tag: 'assign-users',
styleUrl: 'assign-users.css',
shadow: false
})
Getting Started
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out Stencil docs here.
Using this component
Script tag
- Publish to NPM
- Put a script tag similar to this
<script src='https://unpkg.com/@uipoc/assign-users@0.2.0/dist/assign-users.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
- Published here
Node Modules
- Run
npm install @uipoc/assign-users --save
- Put a script tag similar to this
<script src='node_modules/@uipoc/assign-users/dist/assign-users.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 @uipoc/assign-users --save
- Add an import to the npm packages
import @uipoc/assign-users;
- Then you can use the element anywhere in your template, JSX, html etc