added ngroute, empty target directory for generated css

This commit is contained in:
Felix Bytow 2016-05-22 14:04:22 +02:00
parent 3bbacaf4d1
commit 39283451cb
4 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,10 @@ module.exports = function(grunt) {
'src': 'bower_components/angular/angular.min.js', 'src': 'bower_components/angular/angular.min.js',
'dest': 'assets/scripts/angular.min.js' 'dest': 'assets/scripts/angular.min.js'
}, },
{
'src': 'bower_components/angular-route/angular-route.min.js',
'dest': 'assets/scripts/angular-route.min.js'
}
] ]
} }
}, },

0
assets/styles/.empty Normal file
View File

View File

@ -15,6 +15,7 @@
"tests" "tests"
], ],
"dependencies": { "dependencies": {
"angular": "^1.5.5" "angular": "^1.5.5",
"angular-route": "^1.5.5"
} }
} }

View File

@ -5,4 +5,6 @@ html
meta(http-equiv='content-type', content='text/html; charset=utf-8') meta(http-equiv='content-type', content='text/html; charset=utf-8')
title= title title= title
script(src='assets/scripts/angular.min.js') script(src='assets/scripts/angular.min.js')
script(src='assets/scripts/angular-route.min.js')
body(ng-app='interfug') body(ng-app='interfug')
div(ng-view)