Hello,
After a while, I found out that I didn't need to use all the composer to create an application, and I could do it with just Bootstrap (that was really what I was looking after).
However I am struggling to get a simple working application.
I have the following in my index.html:
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<div class="mod mod-logo">
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\/script>')</script>
<script src="js/vendor/terrific-2.0.2.min.js"></script>
$(document).ready(function() {
var application = new Tc.Application($page);
application.registerModules();
Folder/files structure:
- root
-- css
--- main.css
--- normalize.min.css
--- dependencies
---- logo.css
-- js
--- vendor
---- jquery-1.11.0.min.js
---- modernizr-2.6.2.min.js
---- terrific-2.0.2.min.js
--- dependencies
---- Tc.Module.Logo.js
--- index.html
In the console there appears to be no errors, however it seems to not be loading the module.
Any ideas?
Thanks.