fullstack-demo
fullstack-demo copied to clipboard
Jade mixin
HI,
How can I include a jade mixin ? I seems that's nor working. I got this error
Running "jade:compile" (jade) task File .tmp/app/account/login/login.html created. File .tmp/app/account/settings/settings.html created. File .tmp/app/account/signup/signup.html created. File .tmp/app/admin/admin.html created. File .tmp/app/main/main.html created. >> Jade failed to compile "client/app/requests/jade/mixin/requestsTab.jade". >> TypeError: client/app/requests/jade/mixin/requestsTab.jade:1 >> > 1| mixin requestsTab(tabLabel, filter) >> 2| md-tab(label=tabLabel) >> 3| md-item(ng-repeat="request in requests | filter:{status: filter}") >> 4| div(flex) >> >> Object #<Object> has no method 'requestsTab' >> Destination not written because compiled files were empty. >> Jade failed to compile "client/app/requests/requests.jade". >> TypeError: client/app/requests/jade/mixin/requestsTab.jade:1 >> > 1| mixin requestsTab(tabLabel, filter) >> 2| md-tab(label=tabLabel) >> 3| md-item(ng-repeat="request in requests | filter:{status: filter}") >> 4| div(flex) >> >> Object #<Object> has no method 'requestsTab' >> Destination not written because compiled files were empty. File .tmp/components/jade/mixin/requestsTab.html created. File .tmp/components/modal/modal.html created. File .tmp/components/navbar/navbar.html created.