Skip to content

An implementation of the Twitter Bootstrap framework using Dojo.

License

Notifications You must be signed in to change notification settings

hendryluk/Dojo-Bootstrap

Repository files navigation

Dojo-Bootstrap

An implementation of the excellent Twitter Bootstrap framework using Dojo. It is a port of version 2.1.0.

This implementation allows you use the javascript components of Twitter Bootstrap without the need to include jQuery. It also takes advantage of AMD, allowing you to easily use in your page only the modules that you need and create a single deployable script for production.

This project has been tested with Dojo 1.8.0.

Quick Start

First clone the repository using git clone --recursive.

Add a script tag that links to your base dojo.js file.

<script data-dojo-config="async: 1, tlmSiblingOfDojo: 0, isDebug: 1" src="PATH_TO_SCRIPTS/dojo/dojo.js"></script>
At the bottom of your page, add the following code:
	require({  
	    packages: [  
	        { name: 'dojo', location: 'PATH_TO_SCRIPTS/dojo' },  
	        { name: 'bootstrap', location: 'PATH_TO_SCRIPTS/bootstrap' }  
	    ]  
	}, [   
		'bootstrap/Button',  
		'dojo/domReady!'  
	], function(){  
	  
	});  

You can also place this code in a separate script (recommended) that serves as the main entry script for your page.

<script src="PATH_TO_SCRIPTS/application.js" type="text/javascript"></script>

Useful resources

License

Dojo Bootstrap is licensed under the Apache License 2.0

About

An implementation of the Twitter Bootstrap framework using Dojo.

Resources

License

Stars

Watchers

Forks

Packages

No packages published