antonybudianto / angular-starter

:star: Gulp Angular Starter using TypeScript (Updated to 4.4.3)

Home Page:https://antonybudianto.github.io/angular-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support for Component-Relative URLs to component templates and style files

tolyanich opened this issue · comments

Hi.
Angularjs support relative path for component templates and style file. It is very useful for when projects start growing and you begin to move components inside project structure.
Currently if you try to use it with this starter it will not work. First things is in dev mode js files served from src/app/tmp/ path and html files served directly from src/app/. May be is a good idea to add watcher for html and copy them to src/tmp folder as well. And probably some enhancement for prod build will be required.
Thanks

It's on the work, but it will change the whole workflow, I'm switching to webpack.