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

Nuxt 3 compatibility? #49

Open
safejace opened this issue May 20, 2022 · 1 comment
Open

Nuxt 3 compatibility? #49

safejace opened this issue May 20, 2022 · 1 comment

Comments

@safejace
Copy link

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.
@zacwebb
Copy link

zacwebb commented Jun 21, 2022

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

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