Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #424 from olefredrik/feature/gitignore
Browse files Browse the repository at this point in the history
Feature/gitignore
  • Loading branch information
olefredrik committed Aug 21, 2015
2 parents 92c1f4c + 08dd95f commit 9bee36e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 58 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,23 @@ $ npm run grunt -- copy
* `scss/config/_custom-settings.scss`: Copy the settings you will modify to this file. Make it your own
* `scss/site/*.scss`: Unleash your creativity and make it look perfect. Create the files you need (and remember to make import statements for all your files in scss/foundation.scss)

* `css/foundation.css`: All Sass files are minified and compiled to this file
* `css/foundation.css.map`: CSS source maps
Please note that you must run `npm run build` in your terminal for the styles to be copied and concatinated. See [Gruntfile.js](https://github.com/olefredrik/FoundationPress/blob/master/Gruntfile.js) for details

### Script Folder Strucutre

* `bower_components/`: This is the source folder where all Foundation components are located. `foundation update` will check and update scripts in this folder.

* `js/custom`: This is where you put all your custom scripts. Every .js file you put in this directory will be minified and concatinated to [foundation.js](https://github.com/olefredrik/FoundationPress/blob/master/js/foundation.js)
Please note that you must run `npm run build` in your terminal for the scripts to be copied and concatinated. See [Gruntfile.js](https://github.com/olefredrik/FoundationPress/blob/master/Gruntfile.js) for details

* `js/vendor`: Vendor scripts are copied from `bower_components/` to this directory. We use this path for enqueing the vendor scripts in WordPress.
### Styles and scripts generated by the build

* Please note that you must run `npm run build` in your terminal for the script to be copied and concatinated. See [Gruntfile.js](https://github.com/olefredrik/FoundationPress/blob/master/Gruntfile.js) for details
Version control on these files are turned off because they are automatically generated as part of the build process.

* `css/foundation.css`: All Sass files are minified and compiled to this file
* `css/foundation.css.map`: CSS source maps

* `js/custom`: This is where you put all your custom scripts. Every .js file you put in this directory will be minified and concatinated to [foundation.js](https://github.com/olefredrik/FoundationPress/blob/master/js/foundation.js)
* `js/vendor`: Vendor scripts are copied from `bower_components/` to this directory. We use this path for enqueing the vendor scripts in WordPress.

## Demo

Expand Down
8 changes: 0 additions & 8 deletions js/vendor/fastclick.js

This file was deleted.

8 changes: 0 additions & 8 deletions js/vendor/jquery.cookie.js

This file was deleted.

Loading

0 comments on commit 9bee36e

Please sign in to comment.