Skip to content

bmartel/mithril-starter

 
 

Repository files navigation

mithril-starter

What's provided?

A full development ecosystem is preconfigured to work immediately with webpack v4, best practices with codesplitting, dynamic imports, server side rendering, state management, testing, and atomic css styling.

  1. mithril with:
  1. Build: webpack

  2. State management:

Or

  1. Styling: postcss with:
  1. Testing with:

Or

  1. Code styles:

Quick start

$ yarn install
$ yarn start

and navigate to http://localhost:9000

Server side rendering

$ yarn serve

and navigate to http://localhost:3000

Commands

  • yarn build - production build of assets for deployment.
  • yarn build:dev - development build of assets.
  • yarn start - automatically build assets on file changes and start a development server with hot reload.
  • yarn serve - build production assets and start an express based nodejs server for server side rendering.
  • yarn lint - lint all files and fix with eslint and prettier.
  • yarn test - run application tests.

About

A starter kit for building applications powered by Mithriljs + Redux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.2%
  • CSS 3.9%
  • HTML 1.9%