This is a front-end boilerplate that can be used to build campaign sites for FragDenStaat. It works with Gulp.
Clone or fork this repository. Then do:
- Install
gulp-cli
globally withyarn global add gulp-cli
- Install dependencies:
yarn
yarn dev
will start a local server athttp://localhost:8000
with LiveReload-support.
yarn build
will start the build task and exit when done
src
: The root directory for the source filessrc/img
: Place all images heresrc/js
: JavaScript files go heresrc/scss
: Place SCSS styles here. Entry point isstyle.scss
.src/index.html
: The main html page
The build process bundles all files in a dist
-folder.
Scripts, styles and images are placed inside js
-, css
- and img
-subfolders.