@gocommerce/styleguide

https://vtex-gocommerce.github.io/styleguide

Usage no npm install needed!

<script type="module">
  import gocommerceStyleguide from 'https://cdn.skypack.dev/@gocommerce/styleguide';
</script>

README

Styleguide

https://vtex-gocommerce.github.io/styleguide

Setup

git clone https://github.com/vtex-gocommerce/styleguide.git
cd styleguide
npm install

Developing using Styleguidist

Start the server with:

npm run styleguide

Publish new version at Render APP

First of all, increase the version at Manifest.json. Run the command below if you created a new component.

npm run entrypoints

Link to see results

vtex link

Publish when finished

vtex switch gocommerce
vtex publish

Publish new version at NPM with Releasy

npm run compile
git commit -a
releasy --stable
npm publish

Publishing Styleguide page on Github

npm run styleguide:build
npm run github