@Giltvedt This Gitter channel doesn't seem to get a lot of traffic. I think that is what @celesteking was referring to when he said "this chan is dead". There is an option to run the build command with the "--production" flag to get all your files ready for production and place them in the "dist" folder under your Foundation project folder. You can see some of this information if you look at the "gulpfile.babel.js" file in your project folder.
The following YouTube videos also go over the "ZURB Stack". They are a little old, but I think they should help you get an understanding of the build process.
There are a lot more tutorial videos about Zurb Foundation located at https://foundation.zurb.com/learn/tutorials.html that you may also want to check out.
This page also has more details about Zurb Template and the build commands: https://foundation.zurb.com/sites/docs/starter-projects.html
After everything is built you should be able to upload the "dist" folder to your web server and the pages should work like in your local development environment.
npm / yarn start
.
@cnc137 Yeah I guess it was that he mean. It's kinda sad for a great framework.
I'm not sure we are talking about same codebase. It's no any sight about --production
or dist
in gulpfile.js
in project folder. Anyway… I've moved project to another codebase and can now run build command to make website ready for production-server.
@DanielRuf Sorry I was unclear when I ask for help. I've no problem to run npm/yarn start
. I was asking how to run command to export site ready for production use. Also generate dist
folder.
validateInput(el)
? https://github.com/foundation/foundation-sites/blob/develop/js/foundation.abide.js#L423
Need help with a Foundation CLI error listed below on Win10x64 .
$ foundation new
fs.js:27
const { Math, Object } = primordials;
^
ReferenceError: primordials is not defined
Installed Foundation CLI using command npm install --global foundation-cli
. Just starting to use Foundation for the first time using Zurb instructions.
Thank you @DanielRuf ! Installed "nvm for Windows." Got past the error from my last post: ReferenceError: primordials is not defined
Foundation CLI command "new" is working.
https://github.com/coreybutler/nvm-windows