nuxt-webfontloader icon indicating copy to clipboard operation
nuxt-webfontloader copied to clipboard

add support for loading custom css files with webpack alias?

Open jd1378 opened this issue 5 years ago • 1 comments

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 avatar Apr 29 '20 14:04 jd1378

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

tbredin avatar Jun 25 '20 01:06 tbredin