Skip to content

A template for creating simple static websites without JS frameworks.

Notifications You must be signed in to change notification settings

wwebdev/static-website-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

315e51f · Mar 18, 2022

History

36 Commits
Mar 18, 2022
Mar 18, 2022
Oct 21, 2019
Feb 1, 2020
Feb 1, 2020
Mar 18, 2022
Mar 18, 2022
Oct 24, 2019
Mar 18, 2022

Repository files navigation

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

About

A template for creating simple static websites without JS frameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published