Aries is a Bootstrap 4.0 template built with Sass, concatenation, minification, autoprefixer, Browsersync, hot reloading and sourcemaps all ran by Gulp. A great Bootstrap starter template for both, beginners and developers.
- Extract and copy “docs” folder, this is the only one you’ll need.
- Get Started:
index.htmlin your browser to visit the homepage
- go to
assets/css/theme.css- add/edit your custom CSS
- got to
assets/js/theme.js- add/edit your custom JS
- Clone this repo:
git clone https://github.com/wowthemesnet/template-aries-bootstrap-html.git
- Navigate into the repo directory:
- Install all node packages:
- Get started:
gulp serve- starts localhost server with browser-sync, watches html sass js with hot reloading
gulp- minify css/js and builds your app into the docs directory, ready for production
footerare edited via
partialsfolder ONLY. Any change you make here will automatically update all your files, so you don not have to manually modify them each time edit your menu (as an example). The output in the main files will be wrapped between:
<!-- inject:partials/header.html -->
<!-- endinject -->
<!-- inject:partials/footer.html -->
<!-- endinject -->
Make sure you do not touch anything between these tags in the main files. Just edit your header in footer in
partials and simply watch the changes.
Install gulp globally:
npm install -g gulp
The gulp serve command starts a local Browsersync server that serves your files in the browser. It automatically reload the current page when changing html, sass and js files. The output of all sass files go to main.css. All js files are concatenated into main.js. You can access the project live in development with other devices on the same network. Go to the “External” address specified by Browsersync in the terminal in the browser of your device.
The default gulp command is set to creating a “docs” directory with a production version of the project, ready to be deployed. It minifies and renames js/css assets as well as cleaning the old “docs” directory. CSS is autoprefixed for the latest two browser versions.
The gulp concatScripts command combines the specified js ressources into main.js. You can add new js files to this command on line 16 in gulpfile.js You might want to run concatScripts once seperately after adding new js files.
Overwriting Bootstrap Sass variables
You can overwrite specific bootstrap sass variables by uncommenting lines in