blocks
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/blocks package

0.3.5 • Public • Published

jsblocks    Build Status

Better MV-ish Framework

From simple user interfaces to complex single-page applications using faster, server-side rendered and easy to learn framework.

[ official website ]

I am also working on a Markdown Editor. I will appreciate it if you check it out and tell me what you think.

Features

Getting started

Just copy and paste the code below for your first jsblocks application. Continue with the documentation and the jsblocks starter template project

<!DOCTYPE html>
<html>
  <head>
    <script src="http://jsblocks.com/blocks/0.3.2/blocks.js"></script> 
    <script>
      blocks.query({
        firstName: blocks.observable()
      });
    </script> 
  </head>
  <body>
    Name:
    <input data-query="val(firstName)" placeholder="Enter your name here" />
    <hr />
    <h1>Hello {{firstName}}!</h1>
  </body>
</html>

Example projects

Ask a question

Contribute

Readme

Keywords

none

Package Sidebar

Install

npm i blocks

Weekly Downloads

27

Version

0.3.5

License

MIT

Last publish

Collaborators

  • astoilkov
  • jsblocks-ci