0.1.0 • Published 2 years ago

wc-temp v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

wc (web components)

Project setup

Install dependencies by running:

npm install

Start developing with HMR support:

npm run serve

Storybook development flow

For development of stories use npm run storybook

This will allow you to make changes in your code, while being able to preview them locally on a port 6006 (if necesarry this port can be changed in package scripts command)

To build a storybook for deployment, use: npm run build-storybook command Youd build will find place in ./storybook-static folder, in the root of your project

If you want to take a look at your built files locally you can install serve: npm install -g serve Then from the mentioned storybook-static folder run: serve . (notice the dot char)