JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q56794F
  • License ISC

A versatile mithril template for creating an app

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sample-mithril-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    sample-mithril-app is a small sample mithril.js app, pre-configured with webpack. It serves as a template for starting a new mithril.js project.

    Purpose

    I created this project to build a robust and versatile mithril.js template that can be cloned when we start a new mithril.js project. It is set up with webpack and webpack-dev-server to streamline development and build. It is directly used by create-mithril-app to create new projects.

    Usage

    Clone this project (here) and use it as a starting point for your new mithril.js app. Or use create-mithril-app to streamline this cloning process.

    Development

    As this template is improved, it will benefit all the future projects based on it.

    Version History (partial)

    • 1.0.9 - replaced @babel/polyfill with core-js and regenerator-runtime
    • 1.0.8 - updated webpack for latest security fixes
    • 1.0.7 - updated to mithril 2.0.4