Skip to content

oyanezm/bolerojs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoleroJS

A Single Page Js Framework. Powered by RequireJS.

Install

npm i oyanezm/bolerojs --save

Configure

create a file app.js containing routes and controller references, and pass it to the framework load method.

require(["node_modules/bolerojs/bolero"], function(bolero){

  var routes = [ "app/artist/route" ];
  var controllers = [ "app/artist/controller" ];

  bolero.load(routes, controllers);
});

Include

Create a index.html file and import bolero.js from within the header. It' will use the file app.js as it's entrypoint.

<script src="node_modules/bolerojs/bolero.js" type="text/javascript" />

Serve

You can serve by doing

npx serve

About

SPA Framework. Powered by RequireJS + jQuery + Moustache + Less

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published