misojs: MIthril iSOmorphic JavaScript framework
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
Use one of these methods, if you want to work on improving miso the framework, instead of creating a miso app.
- 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 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
Mithril needs a bunch of polyfills - grab from here if you need to support IE8, and conditionally include it.
Be sure to read changelog.md for the latest changes and update you might need to be aware of.