https://github.com/roose/boilerplate
CSS/HTML Boilerplate for new project
https://github.com/roose/boilerplate
Last synced: 6 months ago
JSON representation
CSS/HTML Boilerplate for new project
- Host: GitHub
- URL: https://github.com/roose/boilerplate
- Owner: roose
- License: mit
- Created: 2014-03-18T15:13:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-09-14T20:10:54.000Z (almost 8 years ago)
- Last Synced: 2024-04-14T13:12:09.974Z (over 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 350 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# boilerplate
CSS/HTML Boilerplate for new project using [PostCSS](https://github.com/postcss/postcss), [PreCSS](https://github.com/jonathantneal/precss)
## Install Dependencies
```
npm i
```
## Folder structure
```
|-- gulpfile.js
|-- package.json
`-- src
|-- css
| |-- base
| | |-- base.css
| | `-- vars.css
| |-- main.css
| |-- pages
| | `-- home.css
| `-- parts
| |-- footer.css
| |-- header.css
| `-- sidebar.css
|-- img
| `-- icons.png
|-- index.html
`-- js
`-- main.js
```
## Gulp commands
```
gulp build
```
Delete `dist` folder, copy all files to `dist` folder, minify images
```
gulp zip
```
Zip all files in `dist` folder to `pkg.name.zip`
```
gulp watch
```
Watch changes and reload browser