https://github.com/spacejack/mithril-tutorial-ts
Mithril Simple App Tutorial - Typescript
https://github.com/spacejack/mithril-tutorial-ts
Last synced: about 1 year ago
JSON representation
Mithril Simple App Tutorial - Typescript
- Host: GitHub
- URL: https://github.com/spacejack/mithril-tutorial-ts
- Owner: spacejack
- Created: 2017-02-13T01:10:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T19:27:45.000Z (almost 8 years ago)
- Last Synced: 2024-08-01T22:41:42.050Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 56.6 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-mithril - Mithril tutorial app - The tutorial app from mithril.js.org adapted to Typescript. (Uncategorized / Uncategorized)
README
# [Mithril 1.1](https://mithril.js.org/) Simple App Tutorial
Typescript version adapted from: https://mithril.js.org/simple-application.html
Uses types from DefinitelyTyped on npm (@types/mithril)
## Install:
npm install
### Start localhost server, compile JS & CSS, watch for changes:
npm start
Then go to http://localhost:3000/ in your browser.
### Build minified:
npm run build
Outputs to `public/js/app.js` and `public/css/app.js`