Skip to content

tbreuss/mithril-by-examples

Repository files navigation

Mithril.js by Examples

The missing addition to Mithril.js website with many up-to-date code examples that are often searched for and just work...

https://mithril-by-examples.js.org

What is this?

Mithril.js by Examples was created for new users including me to learn Mithril.js - a JavaScript framework for building brilliant applications.

This website itself is a simple wrapper for the wonderful Flems - a static browser code playground. It contains numerous Mithril.js code samples that can be seen, reviewed and run. Besides that all examples can be searched or can be listed by tags, contributes, or levels.

But the best thing is: The code snippets are up-to-date and just work!

Mithril.js Resources

Official

Community

  • Zulip Chat
  • Use #mithriljs on Twitter and other social media.

Getting started

The website is built using Eleventy, a simpler static site generator.

Clone this repository:

git clone https://github.com/tbreuss/mithril-by-examples.git

Navigate to the directory:

cd mithril-by-examples

Install dependencies:

npm install

Run local web server and watch for changes:

npx eleventy --serve --port=8081

Open http://localhost:8081 with your favorite browser.

More information about command line usage can be found on Eleventy's website.

Contributing

If you're interested in contributing to Mithril.js by Examples, please read our contributing guide.