lean-blog-web-components
v0.8.5
Published
A design language for blogs
Downloads
6
Maintainers
Readme
lean-blog-web-components
Contains all components needed to build a blog with a sufficiently simple (lean) design implemenation.
Get Started
- install
npm install
- view components demo:
npm run storybook
Core concepts
Web Components
Components are developed and exported as Web Components. Components can be used in any modern framework so long as javascript is enabled in the browser.
Convention
Web Components are named using the lbwc-
prefix to avoid possible naming collision in the browser.
Development
Components are added to the src folder. Components are added to stories file for demoing.
Use
Components need only be imported to be used.
Weback:
Example App Bar use:
import 'lean-blog-web-components/src/app-bar'
and in the browser
<lbwc-app-bar ...></lbwc-app-bar>
API
For detailed instructions on how to use the components, see component API