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

add support for loading custom css files with webpack alias? #45

Open
jd1378 opened this issue Apr 29, 2020 · 1 comment
Open

add support for loading custom css files with webpack alias? #45

jd1378 opened this issue Apr 29, 2020 · 1 comment

Comments

@jd1378
Copy link

jd1378 commented Apr 29, 2020

Hi
I want to use this module with self-hosted css file, but I'm unable to use it as the plugin does not support using webpack aliased urls (using "@/" or "~/")
It would be good if it was possible

@jd1378 jd1378 changed the title any support for loading custom css files with webpack alias? add support for loading custom css files with webpack alias? Apr 29, 2020
@tbredin
Copy link

tbredin commented Jun 25, 2020

I have this issue too. If its helpful I can see two workarounds:

  1. place your fonts and font css directly in the nuxt static folder and reference them here
  2. import your fonts into your css elsewhere and don't use the url field

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