Skip to content

(WIP) Static Boilerplate for HTML, Sass and Babel projects.

Notifications You must be signed in to change notification settings

fraktalize/static-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Static Boilerplate

This is a simple boilerplate for static HTML pages with HTML, SCSS and ES2018 support.

Tech

  • Webpack for bundling
  • Babel for JS
  • SCSS & PostCSS for styles

Usage

Clone the repository, and run yarn inside of the project folder to install all dependencies.

Development

Edit the HTML files in the views folder.

Run yarn start to fire up webpack-serve and BrowserSync for development.

Run yarn build for development build, and yarn build:prod for production build.

Referencing assets

All references to files in stylesheets should be done relative to main.scss.

Example: background-image: url('../images/cat.jpg');

All references to files in thhe HTML files should be made relative to the root directory. All HTML files in views are moved to the root directory during build.

Example: <img src="/images/cat.jpg/">

About

(WIP) Static Boilerplate for HTML, Sass and Babel projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published