Skip to content

gucorpling/midas-loop-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Midas Loop UI

Usage

Prerequisites

Development

  • yarn - install dependencies
  • yarn start - start development server
  • yarn test - run minimal tests (eg: lint javascript files)

Adding a new page

  1. Make a new directory under src prefixed with page-, e.g. src/page-login, with at least a tmpl.html
  2. In both webpack.dev.js and webpack.prod.js, extend module.exports.entry and module.plugins appropriately.

Production

  • yarn build to prepare html, css, js files in dist/ directory
  • yarn preview - run build and serve production files locally

Credits