Skip to content
On this page

Quick Start

1.1 Command line creation

npm create alins

After following the steps, execute the following command to install and run it.

cd <project>
npm i
npm rundev

You can also directly clone template code repository

1.2 Using the Web Compiler

Result
html
<script src='https://unpkg.com/alins-compiler-web'></script>
<script type='text/alins'>
     let count = 1;
     <button onclick={count++} $mount='body'>
         count is {count}
     </button>;
</script>

Note:

  1. This method is not recommended for use in production environments.
  2. You can use type='text/babel' to get the editor's own syntax highlighting.

You can also use it freely in Practice Ground, which also uses the Web compiler

Alins 2022-present