All Studio
Getting Started
Script tag
- Put a script tag similar to this
<script type='module' src='https://unpkg.com/as-player@0.0.1/dist/as-player.esm.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 as-player --save
- Put a script tag similar to this
<script type='module' src='node_modules/as-player/dist/as-player.esm.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 as-player --save
- Add an import to the npm packages
import as-player;
- Then you can use the element anywhere in your template, JSX, html etc