Whilst building a Nuxt application with WordPresss, I'm importing custom css from the WordPress API.
How do I inject custom CSS into a template?
<template>
  <div class="container">
    <style>
      {{ content.custom_css }} 
    </style>
    <div class="wordvue mt-5" v-html="content.rendered"></div>
  </div>
</template>
My problem is that this is working in development mode, but the style tag is removed in production mode.
Is there any solution to this ?
 
    