fontawesome-module icon indicating copy to clipboard operation
fontawesome-module copied to clipboard

Nuxt 3 compatibility?

Open safejace opened this issue 3 years ago • 1 comments

just tried to generate my nuxt site with npx nuxi generate

using nuxt rc-3

getting this warning:

WARN                                                                          15:54:43
(!) Some chunks are larger than 500 KiB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.

ℹ Client built in 15227ms                                                      15:54:43
ℹ Building server...                                                           15:54:43

 WARN  @fortawesome/fontawesome-pro doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.

safejace avatar May 20 '22 23:05 safejace

Just in case anyone else stumbles upon this I managed to get it going with Font Awesome 6 and Nuxt 3 by using following the guide from Font Awesome themselves: https://fontawesome.com/docs/web/use-with/vue/use-with#nuxt

zacwebb avatar Jun 21 '22 23:06 zacwebb