基于TypeScript的一个轻量级的MVVM Web框架


Keywords
typescript, mvvm, web, front-end, framework
License
MIT
Install
npm install tinyts@1.1.9

Documentation

tinyts2

Build Status Coverage Status License: MIT

What is TinyTS ?

TinyTS is a front-end web framework based on typescript. TinyTS is very light-weight, only 9.4 kb after gzip compressed.

  • Features

    • Dependency Injection
    • Data Binding
    • Extendible View
  • Project Target
    ECMAScript 5

  • Browser Support

    • modern browser: chrome,firefox,ms edge
    • To support IE(9+):
      • IE 11: add es6-shim polyfill and promise polyfill.
      • IE 9,10: add es6-sham polyfill and ie11 polyfill.
      • IE 9: do not support router(you can implement one based on history)

    you can find the polyfill file both in the /libs directory in this project and their own repositories(metioned in next section Libs).

Get started

you can find tinyts documentation here.

Issues

  • not support array proxy in ie 9,10

Libs

Build in local

# clone the repository locally.
git clone https://github.com/narrowizard/tinyts.git
# install node modules
npm install
# run build task with npm
npm run build
# unit test
npm test