Skip to content
A template for creating simple static websites without JS frameworks.
CSS JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.eslintrc
.gitignore
.stylelintrc
README.MD
package-lock.json
package.json
posthtml.json
webpack.config.js

README.MD

Static Website Template

This is a template for creating simple static websites without JS frameworks.

A blog post explaining the process can be found on wweb.dev

It uses:

  • SCSS with linting and autoprefixer
  • JavaScript with webpack using babel and linting
  • minifying images
  • html partials and minify with post-html
  • browser-sync

The compiled files will go to the directory "/dist"

  • from src/scss to dist/index.css
  • from src/js to dist/bundle.js
  • from src/views to dist/
  • from src/images to dist/images

Getting Started

  1. Install dependencies
npm install
  1. Build resources
npm run build
  1. Watch for changes
npm run watch

Demo

Integrates smoothly with netlify:

https://static-website-template.netlify.com/

License

MIT


created by Vincent Will

You can’t perform that action at this time.