If you want to change something in the library, make sure that:
-
You changed
.pug
or.scss
files. Please don't change.css
&.html
. They are build automatically with Gulp, and your changes will be overwritten when somebody run it again. -
You run linter and it checked your changes. If it's not so—do it.
-
Your changes didn't break current features.
Usually for change something you should follow these steps:
-
Install the latest node.js if you don't have it.
-
Run
npm install
in directory with cloned repo. -
Run
npm run dev
. It will start server onhttp://localhost:3000
, where you can see your changes if demo site uses them. Also all your changes will be linted. Read the logs!You can run
npm run build
if you don't need the dev-server. It will be build your changes and update CSS / HTML. -
If you add new feature it would be great to add a demo to the site. Feel free to do it.
-
Commit & push your changes to your fork and create the PR! Don't forget to describe in PR what do you change.
Thank you for your contribution!