1.0.4 • Published 2 years ago

init-styleguide v1.0.4

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

WIP - Init - Styleguide

The Greatest for the Greatest

✨This will eventually be a 'plug and use' styleguide✨

Getting started

  • Once installed, on your root folder create a styleguide folder with a src subfolder
    • Inside src create a defaults.js file and copy the contents from node_modules/init-styleguide/src/defaults.js
    • Rename the defaults['<componentName>'] on the created file to match the project naming convention. Modify the props too
  • On your components/templates folder, create a subfolder called styleguide and copy the contents from node_modules/init-styleguide/components/templates/styleguide to that folder (both .css and .jsx files)
    • Rename the filter (line #4) and componentHighlights (line #7) to match the project
  • Add this script to your package.json on your root folder
    "styleguide": "cd node_modules/init-styleguide/dev && npm run build",
    "watch": "cd node_modules/init-styleguide/dev && npx grunt watch",
  • Open your terminal in the root folder and run npm run styleguide

    (This must be run everytime you modify the defaults.js)

  • For watching changes live, run npm run watch

Development

Want to contribute? Great!

init, LFG!

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago