mithrilvm

1.2.10 • Public • Published

MithrilVM

If you want MVVM 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 MithrilVM 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.

Package Sidebar

Install

npm i mithrilvm

Weekly Downloads

11

Version

1.2.10

License

MIT

Last publish

Collaborators

  • xnil