Closed allenhwkim closed 8 years ago
We have a very common component like this.
@Component({ selector: login', templateUrl: 'login.tpl.html', styleUrls: ['login.css'], })
The problem is login.css is written in login.less and it is built by a gulp task into a build directory, which is not in the source directory.
login.css
login.less
build
In the source directory we have login.less, not login.css, which results in 404 file not found.
My work around is to compile .less file into our source directory then run this module, then remove it. It works, but it requires two more gulp tasks.
My suggestion is ..
.css
.less
Thanks for this wonderful module.
Similar to #11
We have a very common component like this.
The problem is
login.css
is written inlogin.less
and it is built by a gulp task into abuild
directory, which is not in the source directory.In the source directory we have
login.less
, notlogin.css
, which results in 404 file not found.My work around is to compile .less file into our source directory then run this module, then remove it. It works, but it requires two more gulp tasks.
My suggestion is ..
.css
, and add it inline..css
is not found. find.less
, then compile in memory, then add it inline.Thanks for this wonderful module.