//= require is broken
thesmart opened this issue · comments
John Smart commented
I am unable to get the require directive to work. Here is my assets tree:
assets
├── css
│ ├── app.scss
│ └── vendor
│ └── normalize.scss
├── ejs
│ ├── hello.jst.ejs
│ └── partials
│ └── title.jst.ejs
└── js
├── app.js
└── vendor
└── jquery-1.11.3.js
When I navigate to http://127.0.0.1:9000/assets/js/app.js
I get:
//(=) require vendor/jquery-1.11.3.js
alert('ack!');
The contents of app.js is:
//= require vendor/jquery-1.11.3.js
alert('ack!');
John Smart commented
Ah, one has to write a template and use the js method.