@ai12z/core
v0.0.1-alpha.6
Published
ai12z Web Components
Downloads
1
Readme
ai12z Web Components
@ai12z/core
is a library of web components to integrate ai12z platform to you website / web app.
Setup
To install from npm:
npm install @ai12z/core@latest --save
Getting Started
Script tag
- Put a script tag similar to this
<script type='module' src='https://unpkg.com/@[email protected]/dist/@ai12z/esm/index.js'></script>
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 my-component --save
- Put a script tag similar to this
<script type='module' src='node_modules/my-component/dist/@ai12z/esm/index.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 @ai12z/core@latest --save
- Add an import to the npm packages
import ;
- Then you can use the element anywhere in your template, JSX, html etc