0.0.10 • Published 4 years ago
aquaponem v0.0.10
Aquaponem
Aquaponem is a web components library using lit-element to create a shared design system for my personal projects.
Table of Contents
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development purposes.
Installing
Install Aquaponem via npm
npm i aquaponem
Install Aquaponem via url
Put this into your html and replace @latest with any version you want to use, ex. @0.0.5
Note: if you use script tag, please skip initialization and go to Usage section
<script type="module" src="https://unpkg.com/aquaponem@latest/build/dist/index.js"></script>
or
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/app/index.js'></script>
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/theme/index.js'></script>
<script type="module" src='https://unpkg.com/aquaponem@latest/build/dist/button/index.js'></script>
Initialization
All component initialization
import 'aquaponem';
Single component initialization
import { App, Theme, Button } from 'aquaponem';
Usage
<aq-app>
<aq-theme dark>
<aq-btn color="primary">Button</aq-btn>
</aq-theme>
</aq-app>
Demos
Built With
- lit-element - A simple base class for creating fast, lightweight web components
- lit-html - An efficient, expressive extensible HTML templating library for JavaScript
- typescript - Typed JavaScript at Any Scale
- snowpack - The faster frontend build tool.
Authors
License
This project is licensed under the MIT License - see the LICENSE file for details