fuspa
v1.0.1
Published
Single-Page-Application library written in TypeScript. Use this template to quickly create your own SPA with minimal effort.
Downloads
1
Readme
fuspa
fuspa is a library for creating a Single-Page-Application, written in TypeScript.
fuspa is using url-pattern, for matching with routes, and hasher, for listening on url-hash changes.
Use this library to quickly create your own SPA with minimal effort.
Getting Started
To get started quickly, use fuspa-cli.
fuspa requires an id reference to a html-element, and a setup of a render-engine.
fuspa.Route.options = {
container: 'container',
templateEngine: Handlebars.templates
};
fuspa parses url-routes, renders a view using a render-engine. A http-client is also included, everything you need to get started with your own single-page-application.