Closed thatvideowebguy closed 6 years ago
Although this thread should be moved here https://github.com/zurb/foundation-zurb-template/
But you raised a very important question... current docs lack that!
or wait http://foundation.zurb.com/sites/docs/starter-projects.html#zurb-template
The biggest difference between this and the basic template is the folder structure. In the ZURB Template, your project has a
src/
folder which contains your source files, and a separatedist/
folder with your finished website. As you work on your project, Gulp continuously updates yourdist/
folder with new versions of files. To compile a production build, runnpm run build
.
@thatvideowebguy
BTW the heart of the matter is
you should be using npm run build
I hope your issue was resolved?
What can we do better in the docs?
Ping @IamManchanda
The watch taks is for incremental builds while being in the development mode or a development environment.
@thatvideowebguy was your question answered and is now clear what each npm script and Gulp task does?
@ncoden do you think that the initial question is answered or should we wait for feedback (if we get any)?
Hi, I'm using foundation to create a website and I'm new with the command line tool and functions.
For now I can Watch and compile all my files but I was wondering how at the end of the project I'll be able to Build (There's a function for that but nothing append, it's seems to have the same effect as Watch function) the project and get only the necessary files to upload on the production server.
Can you help me on this ?
Thanks