1.3.1 • Published 7 years ago

colon v1.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Usage

See the website.

Why colon

  • siwg, art-template, doT ...
<h1>{{ title }}</h1>
<ul>
{% for author in authors %}
    <li{% if loop.first %} class="first"{% endif %}>{{ author }}</li>
{% endfor %}
</ul>
  • colon
<h1>{{ title }}</h1>
<ul>
    <li :each="(author, index) in authors" :class="[index == 0 ? 'first' : '']">{{ author }}</li>
</ul>

colon has a more concise template syntax.

Thanks

  • syntax inspired by Vue

License

Licensed under the MIT License

1.3.1

7 years ago

1.3.0

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago