nuxt-webfontloader | Efficient web font loading | Frontend Framework library
kandi X-RAY | nuxt-webfontloader Summary
kandi X-RAY | nuxt-webfontloader Summary
Efficient web font loading has never been easier!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nuxt-webfontloader
nuxt-webfontloader Key Features
nuxt-webfontloader Examples and Code Snippets
Community Discussions
Trending Discussions on nuxt-webfontloader
QUESTION
I have a Nuxt ^2.15.8 application which is constantly reloading after I run yarn dev
.
The console will show a message like ↻ Updated 1647868577626
, and then the application is rebuilt, as if I just run yarn dev
. This happens constantly over and over, without me doing any changes in the code.
I googled a bit, and found applications like gitkraken might be modifying the content of the .git folder and that could trigger a reload.
So I keep gitkraken closed.
I also added these lines to my nuxt.config.js
file:
ANSWER
Answered 2022-Apr-03 at 10:40The actual issue was actually a version bump of ESlint from 1.x.x
to 3.x.x
. git bisect
helped finding out the actual culprit!
Cloning the repo again and reinstalling the dependencies again, fixed all the above mentioned issues while running yarn dev
!
QUESTION
ANSWER
Answered 2021-Apr-02 at 13:26All the plugins are loaded before the Vue instance is ever created and available globally. One solution would be to load any of those packages in specific components rather than on a global level if you don't need them everywhere.
Not sure what can be optimized beyond this.
Also, from this page: https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-plugins
ssr: false will be adapted to mode: 'client' and deprecated in next major release
So, you should not have any ssr
in your plugins
array.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nuxt-webfontloader
Add nuxt-webfontloader to modules section of nuxt.config.js
Include your webfontloader options in the nuxt.config.js, for example:
Remove old stylesheets from your app template or nuxt.config.js head part:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page