0.0.1 • Published 5 years ago

@khanguru/atama v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Built With Stencil

Atama Web Components

This project contains Atama Web Components to embed into other web sites.

Using this package

  • Put this <script src='https://unpkg.com/@devingen/alaca/dist/alaca.js'></script> in the head of your index.html
  • Put this <script src='https://unpkg.com/@khanguru/atama/dist/atama.js'></script> in the head of your index.html
  • Put the <dvn-theme-provider> component to root (or wrap your components with it)
  • Then you can use the element anywhere in your template, JSX, html etc.
<dvn-theme-provider font-family="Nunito Sans" font-family-title="Nunito Sans">
  <!-- place components here -->
</dvn-theme-provider>

Components

Development

Local CDN

To use the development output locally in another project;

  • Install the http-server; npm install --global http-server
  • Serve the local cdn by cd dist && http-server -p 8001 --cors
  • Place this in index.html <script src='http://localhost:8001/atama.js'></script>
  • Put any component inside the theme provider. Ex: <atama-pairs></atama-pairs>