/misojs

Isomorphic JavaScript framework using mithril

Primary LanguageJavaScriptMIT LicenseMIT

misojs

misojs: MIthril iSOmorphic JavaScript framework

Install

Prerequisites: npm and node

npm install misojs -g

Then to create and run a project:

miso -n myApp -s todo
cd myApp
miso run

This creates a new project with the 'todo' skeleton applied, and runs it on http://localhost:6476

PS: 6476 = miso if you typed it on a keypad!

Documentation is in the wiki

miso development install

Use one of these methods, if you want to work on improving miso the framework, instead of creating a miso app.

archive download method

  • Download this zip file and expand in a directory somewhere.
  • npm install
  • chmod +x bin/miso.bin.js
  • bin/miso.bin.js run
  • Open http://localhost:6476 within your browser

clone repository method

  • Clone this repository to a directory somewhere git clone https://github.com/jsguy/misojs.git
  • cd misojs
  • npm install
  • chmod +x bin/miso.bin.js
  • bin/miso.bin.js run
  • Open http://localhost:6476 within your browser

IE8 support

Mithril needs a bunch of polyfills - grab from here if you need to support IE8, and conditionally include it.

TODO: Do this automatically in miso.