Skip to content

mikejav/mithril-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mithril-starter

Provides starter kit for use Mithril and Bootstrap in convenient way using Webpack, ES6, JSX and SCSS.

Usage

Install:

git clone https://github.com/mikejav/mithril-starter
cd mithril-starter
npm install

Commands:

npm run dev             # Compiles the app and opens it in a browser with "live reload"
npm run build           # Just compiles the app for production. Outputted code lies in dist directory

Directory Layout:

├── build/                      # Build scripts
├── config/                     # Configuration files
├── dist/                       # Builded output
├── node_modules/               # 3rd-party libraries and utilities
├── src/                        # Application source code
│   ├── components/             # Shared or generic UI components
│   ├── styles/                 # .scss files (they are included to application by importing them in .js files)
│   ├── static/                 # Files that are copied to build production output (e.g. favicon.ico)
│   └── main.js                 # Application entry point
└── package.json                # The list of project dependencies and NPM scripts

About

Use Mithril and Twitter Bootstrap in convenient way using Webpack 3, ES6, JSX and SCSS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published