Create an accordion (JS / CSS) show only the contents of a section at a time. More details: (https://github.com/scm-spain/Frontend-Exercise).
You have to install Node.js & Gulp
- Download or clone the repository
- Install local dependencies with
npm install
- Launch the kit with
gulp
- If you have some problems, install
gulp cli
withnpm install --global gulp-cli
npm start
or in the project:
gulp
Launch a webserver with BrowserSync & some watchers are waiting for the files SCSS/JS/HMTL, in the folder public/, for update the browser when you want.
For generate the folders for production, you have to do this:
npm run docs
or in the project:
gulp docs
With this command you can generate the ready files for production and automatically upload to GitHub:
npm run push-docs
/
`- _src
|- api
| |- data.json
|- assets
| |- icons
| |- images
| |- js
| `- scss
| `- core
|
`- templates
`- partials
- HTML
- Sass
- JavaScript
- Gulp task automation