Static GitHub Issues

[2635] Generate a static .css file from .scss file

prev: Website not built properly after running 'nuxt generate'
next: SSR: How to protect oneself from empty objects

Is there a way to just convert a .scss file as a static .css file and but not include it into our project?

I'm planning on using the .css file on another app (such as a separate TinyMCE app that lives in a separate app).

I know I can just create a .css file in /static, but that doesn't get processed by sass, hence I can't share some of the styles in main.scss.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2291">#c2291</a>)</em></sub></div>