Skip to content
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

Using @noView with css #120

Open
ghost opened this issue Aug 31, 2017 · 2 comments
Open

Using @noView with css #120

ghost opened this issue Aug 31, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 31, 2017

I'm submitting a bug report

Please tell us about your environment:

  • Operating System:
    Windows 10

  • Node Version:
    v6.10.3

  • NPM Version:
    npm: '3.10.10',

  • JSPM OR Webpack AND Version
    webpack 3.3.0

  • Browser:
    Google Chrome | 60.0.3112.113 (Versão oficial) 64 bits
    -- | --

Current behavior:
when I do @noview([PLATFORM.moduleName('nprogress/nprogress.css')]) I get:
Failed loading required CSS file: nprogress/nprogress.css in the browser.

Expected/desired behavior:
I expect the browser to load the CSS file

bugtest.zip
aurelia-car.zip

@JeroenVinke
Copy link

This is used in the contactmanager tutorial, which works when the Aurelia CLI bundler is used. Loading the same css file using or import in webpack works fine

@jods4
Copy link
Contributor

jods4 commented Sep 3, 2017

This is most likely because your css loaders are not set up properly.
There is an explanation here:
https://github.com/aurelia/webpack-plugin/wiki/CSS-doesn't-load

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants