violent

Only a library, Use library create web application, We don't need a framework

Usage no npm install needed!

<script type="module">
  import violent from 'https://cdn.skypack.dev/violent';
</script>

README

violent

Use

Includ or download the violent.js:

<script src="https://unpkg.com/violent@0.0.2/umd/index.js"></script>

Route map

Base

  • if
  • show
  • for
  • for in for
  • text
  • events
  • bind
  • css
  • runtime flavorcss
  • watch

Template

  • template/component
  • template/fetch
  • template/init
  • template/init state
  • template/init props
  • template/init slot
  • template/init loading
  • template/init renderState
  • template/init if
  • template/init route

Use Other script

  • load script at template/init

Debug

  • error in Element
  • fetch no cache

Document

  • home page
  • document mobile
  • live edtor