Nuxt.js Component CSS Style Missing

March 11, 2020

If you have some global CSS styles, configure it at nuxt.config.js#css.

If you define it at components or pages via <style>, the CSS might not be loaded if the component or page is not loaded (especially when code splitting is used - and I believe Nuxt.js pages/route used code splitting).

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.