Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilmoore/dcf2e37803bf14c977ea to your computer and use it in GitHub Desktop.
Save wilmoore/dcf2e37803bf14c977ea to your computer and use it in GitHub Desktop.
Bootstrap + Duo Bootstrap (haha)
.DS_Store
node_modules
build
/**
* Modules
*/
@import "necolas/normalize.css";
@import "twbs/bootstrap@v3.2.0:dist/css/bootstrap.css";
@import "typefaces/clear-sans-light";
/**
* Base
*/
html, body {
font-family: 'Clear Sans';
margin: 0;
margin: 10px;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Bootstrap + Duo Bootstrap</title>
<link rel="stylesheet" href="build/index.css">
<script src="build/index.js"></script>
</head>
<body>
</body>
</html>
'use strict';
// vendored libs
var domready = require('ded/domready@v1.0.6');
// internal libs
var main = require('./app/main');
// application lifecycle begins here.
domready(main);
@wilmoore
Copy link
Author

In Development

% ./node_modules/.bin/duo index.{css,js} --watch

Pre Deploy

% ./node_modules/.bin/duo index.{css,js}

No jQuery by default

Do note that there is no jQuery dependency because we really don't need it unless we are using the bootstrap UI components; however, there are tons of components out there that do not need jQuery -- so include bowerified jQuery if you want it, but it is not the default here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment