https://github.com/importdoc/import-doc-element
The ImportDoc web component
https://github.com/importdoc/import-doc-element
google-docs importdoc stenciljs stenciljs-components webcomponent webcomponents
Last synced: 2 months ago
JSON representation
The ImportDoc web component
- Host: GitHub
- URL: https://github.com/importdoc/import-doc-element
- Owner: importdoc
- License: mit
- Created: 2019-07-22T07:55:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-27T06:12:05.000Z (7 months ago)
- Last Synced: 2025-02-02T06:31:41.037Z (3 months ago)
- Topics: google-docs, importdoc, stenciljs, stenciljs-components, webcomponent, webcomponents
- Language: TypeScript
- Homepage: https://importdoc.com
- Size: 24.4 KB
- Stars: 23
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README

# ImportDoc Component
This is the [ImportDoc](https://importdoc.com) web component.
## Getting Started
Run:
```bash
npm install
npm start
```To build the component for production, run:
```bash
npm run build
```To run the unit tests for the components, run:
```bash
npm test
```## Using this component
### Script tag
- Put a script tag similar to this `` 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 `` 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 my-component --save`
- Add an import to the npm packages `import my-component;`
- Then you can use the element anywhere in your template, JSX, html etc