Xstoudi / myth-client

A client-side Myth transpiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MythClient

A client-side Myth transpiler.

Client-side transpiler is the fastest way to get started for developing with Myth but this feature isn't offered by the basic Myth module. So here it is.

Please notice this client-side transpiler is good for development, but a server-sider transpiler is far better in production.

How to use

Just include the Myth file like another stylesheet but replace the rel attribute to stylesheet/myth:

<link rel="stylesheet/myth" type="text/css" href="style.css" />

After this, download the MythClient script and include it with a <script> tag in the head element:

<script src="https://raw.githubusercontent.com/Xstoudi/MythClient/master/dist/mythclient.min.js" type="text/javascript"></script>

About

A client-side Myth transpiler

License:MIT License


Languages

Language:JavaScript 100.0%