-
Notifications
You must be signed in to change notification settings - Fork 1.2k
gulp serve
broken out of the box with CSS option
#1760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Try the latest version of the generator |
Oops, didn't catch that. But still the same problem with [email protected] after following the exact same steps. I think it's because with the preprocessor, you get bootstrap and font awesome injected into client/app/app.less, but not with CSS. Just a guess, I'm a bit 🆕 to this stuff. Here's a reference image for what I'm seeing with CSS: And again, using Less looks great: |
In fact, the |
Hey, just another data point for this issue: I set up an app to use css (no sass/less/styl), and there was indeed a |
I believe this has been fixed |
To recreate:
yo angular-fullstack
with the options abovegulp serve
and you receive this error:Error: Task inject:css is listed more than once. This is probably a typo.
Easily fixable, I suspect the secondinject:css
is meant as a placeholder in case a preprocessor was selected in step 1gulp serve
after removing the duplicate command, andlocalhost:9000
is clearly missing style resources. I suspect that bootstrap and font awesome are not being loaded.If you generate a second app that's exactly the same, except you select Less as a preprocessor,
gulp serve
works out of the box, and the demo app appears as expected. (This may hold for other preprocessors, I didn't check.) Could be related to #1466 and #1752The text was updated successfully, but these errors were encountered: