Angular2 templateUrl 与玉?

Angular2 templateUrl with Jade?

有没有办法在没有 webpack 的情况下在 Angular2 templateUrl 中使用 Jade?

@Component({
selector: 'my-app',
templateUrl: 'my-app.component.jade'
})

我的-app.component.jade

ul
  li One
  li Two
  li Three

当然,在从 dist 服务构建开发 html 文件的正确位置,什么组件链接。在构建过程中使用 gulp-jade 在简单的任务中,例如:

gulp.task('html:build', () =>
  gulp.src(PATH.src.jade)
    .pipe(jade())
    .pipe(gulp.dest(PATH.dest.app.component))
);

在 GitHub 上使用 Jade 模板查看我的复杂 Angular2 样板项目 --> https://github.com/NN77/ng2-complexity/blob/master/gulpfile.ts