Code Monkey home page Code Monkey logo

ssg-omg's Introduction

๐Ÿ“ A STATIC SITE MAKER

Webpack / Gulp Build:

This SSG uses pug for templating - sass for styleeeing - JS grooveeeying. JS bundling is handled through webpack, all the other build automation is done with gulp. It creates a static site in another folder. WOW!!!!!!!

More a proof of concept, not suave for production use!

Some fun stuff:

  • Use a JSON file to define variables that be used in SASS, JS, and even Templates! ๐Ÿ”ฎ - in this case its called... _vars.json

Commands you gotta run:

# install dependencies
npm install

# Get Started by merging up your data files - in json format
gulp merge-json

# Run to compile files both handles by both gulp and webpack and launch web server with hot reload (gulp watch only)
gulp

# Bundle the js up for production
npm run build

ssg-omg's People

Contributors

dblodorn avatar

Watchers

James Cloos avatar  avatar Brendan Sheehan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.