Unable to import @fortawesome from node_modules in resources/styles/app.css
Error: Failed to find '~@fortawesome/fontawesome-free/css/all.css'
Or if I try to import it without ~ i get the following:
✘ Module not found: Error: Can't resolve '../webfonts/fa-brands-400.woff2' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-brands-400.woff' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-brands-400.ttf' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-brands-400.svg' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-regular-400.eot' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-regular-400.woff2' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-regular-400.woff' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-regular-400.ttf' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-regular-400.svg' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-solid-900.eot' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-solid-900.woff2' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-solid-900.woff' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-solid-900.ttf' in './resources/styles'
✘ Module not found: Error: Can't resolve '../webfonts/fa-solid-900.svg' in './resources/styles
What is the proper way to fully use font-awesome in Sage 10?
and when trying to run any of the wp acorn commands I get something like?
Warning: mysqli_real_connect(): php_network_getaddresses: getaddrinfo for mysql failed: nodename nor servname provided, or not known in wordpress/wp-includes/wp-db.php on line 1753
Hey Ben, do you have any quick installation tips to get this package running with the latest Sage 10? I’ve required the package via composer in Sage and set the head and body directives as defined in the docs, then included: <x-heroicon-s-heart class="w-6 h-6 text-red-600" /> which is unable to locate a class or view for that component.