1.0.5 • Published 11 months ago

blazejs.com v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Getting Started

Step 1. Install via npm

npm install -g blazejs.com

Step 2. Open your favorite editor and write the following code and save it to test.tpl. Any extension will do.

<template="test" default>
  <div>Hello world</div>
</template>

Step 3. Run in the command line

zw test.tpl

This will parse your code and save it to test.js

Step 4. The output is a javascript module which you can import in HTML

<html>
  <body>
    <!-- Include the base library after the body tag -->
    <script src="http://blazejs.com/z/z.js">

    <!-- Then import the module and initialize it -->
    <script type="module">
      import test from "/test.js";

      new test({
        target : "body"
      });
    </script>
  </body>
</html>

https://www.blazejs.com

1.0.5

11 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago