A Flexible JavaScript Component Framework. HomePage
NPM version Build Status Downloads License Issues
NPM:
$ npm i san
CDN:
<script src="https://unpkg.com/san@latest"></script>
<!DOCTYPE html> <html> <head> <title>Quick Start</title> <script src="https://unpkg.com/san@latest"></script> </head> <body> <script> const MyApp = san.defineComponent({ template: ` <div> <input type="text" value="{=name=}"> <p>Hello {{name}}!</p> </div> ` }); let myApp = new MyApp({ data: { name: 'San' } }); myApp.attach(document.body); </script> </body> </html>
- san-devtool - Chrome DevTool extension
- san-router - SPA Router
- san-store - Application States Management
- san-update - Immutable Data Update Library
- san-mui - Material Design Components Library
Please visit document ChangeLog
San is MIT licensed.