npm.io
1.1.1 • Published 10 years ago

mithrilvc

Licence
MIT
Version
1.1.1
Deps
2
Vulns
5
Weekly
0

MithrilVC

If you want MVC and you want it now, you've found the right place.

Use files in the boilerplate directory for your own components:

  • main.js is the entry point for a MithrilVC script; run Browserify on this file. Modify the comps object to include the components you wish to use in your app. There should only be one of this file per-project.
  • SkeletonComponent.js is a starting point for building components. Modify it to create your own components, and rename this file to whatever you like. These files should be require-ed by main.js.

For further reading on how Mithril itself works, check out Mithril.