1.0.1 • Published 5 years ago
google-font-picker v1.0.1
Using this component
Script tag
- Publish to NPM
- Put a script tag similar to this
<script src='https://unpkg.com/google-font-picker@1.0.1/dist/mycomponent.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 google-font-picker --save
- Put a script tag similar to this
<script src='node_modules/google-font-picker/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 google-font-picker --save
- Add an import to the npm packages
import google-font-picker;
- Then you can use the element anywhere in your template, JSX, html etc