Open bhuvidya opened 2 years ago
Ok I have found the issue - I need to explicitly set the "suffix" config parameter to false - on my dev site it seems to default to true as I need to use <fa-icon>
(not <fa>
), whereas on my live site build it seems to default correctly to false.
Loads fine on local dev, but not loading on a SSR build on live server.
The markup in my vue page component is:
Inspecting page code on the live site I can see the html has the fa-icon markup as follows, instead of svg:
Any help greatly appreciated.
Nuxt 2.15.8 @nuxtjs/fontawesome: ^1.1.2 @fortawesome/free-regular-svg-icons: ^6.1.1 @fortawesome/vue-fontawesome: 0.1.10 (via @nuxtjs/fontawesome)
nuxt.config.js: