Smooth scroll code ready to implement on brunch projects, based on CodePen by Jesper Landberg, more interesting stuff on his CodePen
This repo was created from OG_Brunch boilerplate. See more on OG_Brunch repo
Hi there, this project is built by npm and brunch. It's coded oriented to use "modules" and "objects" of HTML and CSS with Jade and SCSS.
- Install (if you don't have them):
- Learn:
public/dir is fully auto-generated and served by HTTP server. Write your code inapp/dir.- Place static files you want to be copied from
app/assets/topublic/. - Brunch site, Getting started guide
- Clone this repo in your dev environment, you can simply run:
foo@bar:~$ git clone https://github.com/AndrewAlva/Brunch_Sass_Jade_Boilerplate.git- Then install node modules through npm:
foo@bar:~$ npm installAnd that's it; now you are able to work on this repo.
Also, you can watch files and compile them live while you're working with this command:
foo@bar:~$ brunch w -s --port 3000The last number is the port where you'd like to view the page, you can use whatever you want: 8000, 1111, etc. For mor commands visit Brunch documentation.
When you finish editing the project, you can run this code to get the final assets for production:
foo@bar:~$ brunch build --productionThis builds minified files ready to upload to server.