skylark-spa
v0.9.4
Published
An Elegant HTML5 Single Page Application Framework.
Downloads
11
Maintainers
Readme
skylark-spa
An Elegant HTML5 Single Page Application Framework
Features
- Easy to manage
The application functions are managed by the configuration file and the framework using controller pattern , unit test and division of labor development become easier. - skylark-router is built-in. skylark-router's features
- Lightweight, even if allinone is only 17k(minified),6k(gzip)
Dependences
| Project | Description | |---------|-------------| | skylark-langx | Javascript language extension library | | skylark-router | Front-end routing framework |
Different builds
| | build | Description | |---------|--------|-------------| | full | skylark-spa-all.js | included skylark-langx and skylark-router | | only sap | skylark-spa.js | not included skylark-langx and skylark-router| | full (development) | uncompressed/skylark-spa-all.js | included skylark-langx and skylark-router | | only router (development)| uncompressed/skylark-spa.js | not included skylark-langx and skylark-router|
Installation
There are multiple ways to install the skylark-spa library.
- cdn
http://registry.skylarkjs.org/packages/skylark-router/v0.9.0/skylark-spa-all.js or
http://registry.skylarkjs.org/packages/skylark-router/v0.9.0/uncompressed/skylark-spa-all.js - npm
npm install skylark-spa --save - bower
bower install skylark-spa
Examples
Please access the following site for the execution of each example program under the "/examples" directory.
- http://examples.skylarkjs.org/skylark-spa/
Document
Building skylark-router
- Ensure that Node.js is installed.
- Run npm gulp -g to ensure gulp is installed.
- Run npm install to ensure the required dependencies are installed.
- change current directory to build/, and run gulp. The builds will be placed in the dist/ directory.
Integration
This library is completely built-in on skylark.js, and when you use skylark.js to develop an application, you do not have to use this library's API directly
License
Released under the MIT