GithubHelp home page GithubHelp logo

raypatterson / modulux Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 1.94 MB

A modular approach to web development using webpack and Swig

Home Page: http://raypatterson.github.io/modulux/

JavaScript 65.17% CSS 8.45% HTML 26.38%

modulux's Introduction

#What is this?

Using webpack & Swig, it provides a way to:

  • Create a page using a simple data object and some snippets of HTML.
  • Load page dependencies such as JavaScript, CSS and Images in one file.
  • Split common page dependencies (for multiple pages or "entry points") into a common file.

See a working demo here.


#How does it work?

It uses Swig and Webpack (and for now, Grunt).

A long and detailed description of how this works isn't valuable since it will be undergoing much change with the first major update. If you've used Swig or Webpack before you'll probably be able to understand what's going on.

If you have any questions, open an issue!


#What do I do now?

Right now, the easiest way to check it out is to clone the repo, start making edits and see what happens.

$ npm i; bower i; grunt server

or to build the 'dist' folder:

$ grunt compile

If you have any problems, open an issue!


#What's next?

This project is barely "proof of concept" stage the 1st thing it needs is a name change... The name is pretty terrible.

Because it was the love-child of an experiment with Swig and Webpack using Grunt, there is an unnecessary dependency on Grunt which needs to be removed.

Once it's a slimmer NodeJS package, it'll need some tests.

It does everything I wanted it to do right now, so if you have any feature requests, open an issue!


#Is that it?

If you'd like to discuss the problems it's attempting to solve please feel free to open an issue!


#Thanks!

If you have any feedback, open an issue!

Here's a cool picture of some futuristic looking, modular living space:

Eco-Pod: pre‐cycled modular bioreactor Eco-Pod: pre‐cycled modular bioreactor - Photographer: Höweler + Yoon Architecture / Squared Design Lab


License MIT

modulux's People

Watchers

 avatar  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.