Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

how to import cdn css in .scss #2428

Closed
chavesgu opened this issue Jun 28, 2018 · 1 comment
Closed

how to import cdn css in .scss #2428

chavesgu opened this issue Jun 28, 2018 · 1 comment

Comments

@chavesgu
Copy link

  • NPM version (npm -v):5.6.0
  • Node version (node -v):8.9.4
  • Node Process (node -p process.versions):{ http_parser: '2.7.0',
    node: '8.9.4',
    v8: '6.1.534.50',
    uv: '1.15.0',
    zlib: '1.2.11',
    ares: '1.10.1-DEV',
    modules: '57',
    nghttp2: '1.25.0',
    openssl: '1.0.2n',
    icu: '59.1',
    unicode: '9.0',
    cldr: '31.0.1',
    tz: '2017b' }
  • Node Platform (node -p process.platform):darwin
  • Node architecture (node -p process.arch):64
  • node-sass version (node -p "require('node-sass').info"):4.9.0
  • npm node-sass versions (npm ls node-sass):4.9.0

how to import cdn css in .scss?
when i use @import url('some cdn');
throw error can't find path;
but i use this in style lang='scss' it work success
why?

@nschonni
Copy link
Contributor

Importing CSS directly into CSS isn't supported and was removed in the latest release. You can read the details in #2362

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

No branches or pull requests

2 participants