Skip to content

A boiler plate of SPA (single page application) build with Mithril.js, as an example and also as my personal home page

Notifications You must be signed in to change notification settings

erdivartanovich/aboutme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mithril Personal Home Page

An SPA (single page application) build with mithril.js

see the live demo here

Purpose:

  • Boiler plate for new mithril.js app
  • provide simple example of how to build an SPA with mithril.js

What Includes:

  • Mithril.js for VDOM manipulation, page routing and rendering
  • Tachyons for granular styling. see: tachyons.io
  • FontAwesome for icons see: FontAwesome
  • Webpack for javascript development server and bundling. This boilerplate already include configured setup for bundling css, images, svg, font etc, and aloe a development server for live reloading.

Prerequisites

  • Install latest NodeJS. Version 8.9.1 LTS is recommended

Install & Run

Open terminal and run these commands

  • Install the packages
    $ npm install
  • live reload development
    $ npm run start:dev
  • build the app

    these commands will bundle all javascript source and assets(css, images, fonts) into single app.js file. The output will reside in /dist/ folder

    $ npm run build

Create ticket for any questions and issues. Thank you.

2017 @erdivartanovich email me

About

A boiler plate of SPA (single page application) build with Mithril.js, as an example and also as my personal home page

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published