A base fractal folder structure with example project
-
Install Nodejs & npm
Get it from https://nodejs.org/en/ -
Installing the Fractal CLI tool globally via NPM
npm i -g @frctl/fractal
- Install Gulp CLI
sudo npm install --global gulp-cli
- Clone the repo locally
- Open the local Folder with the Terminal
- Install Dependencies with npm
npm install
- After the Dependencies have been installed, start fractal by typing the following command in terminal
gulp
enter the following in the terminal
gulp build-parsys
You don't need to add $(document).ready(function(){…});
to the javascript files. They will be wrapped into this when the js-files are concatenated.