====================
See page Nodejs offical page
====================
Open command prompt node js
(window) or terminal
(ubuntu, osx ... )
npm install
====================
Open command prompt
(window) or terminal
(ubuntu, osx... )
gulp
====================
- In folder component , create subfolder has name same name component (no space , special symbol)
- In folder yet created , create
[name-folder].html
and[name-folder].css
- File html save markup component
- File css save style component
- Open
[dir project]/components.twig
, find row{% set list_components = [
- Add structure to last row
{
'id':'[name-folder]',
'name': '[Description of component]'
}
Run 'gulp' command again after create new component
====================