Gulp连接给我不能GET /与角应用程序
问题描述:
我想设置一个简单的样板吞咽,browserify,角度和node.js但是,我得到的错误cannot GET
。Gulp连接给我不能GET /与角应用程序
这里是在github上https://github.com/kushalmahajan/angular_boilerplate.git
答
你需要改变你的connect
任务从app/
提供文件内的root
目录样板网址。
gulp.task('connect', function(){
connect.server({
root: 'app',
port: 4000
})
})