mosaic
  • Overview
  • Integration
    • Next.js
    • Create React App
    • Webpack
  • Getting started
    • Extensions
    • Themes
  • Tutorials
    • Mosaic + React
    • Mosaic + Webpack
  • Install an extension
    • Install a local extension
    • Install with a package manager
    • Enable or disable an extension
  • Develop an extension
    • Anatomy of an extension
    • Namespaces
    • Runtime plugins
    • Build configuration plugins
  • CRA features
    • CRACO plugins
  • Next.js features
    • Styles
    • Pages
    • Common props
  • Architecture examples
    • Router
  • Themes
    • Parent theme system
    • File shadowing
  • Experimental
    • Module preferences
    • File provisioning
  • in-depth
    • How does it work?
Powered by GitBook
On this page

Was this helpful?

  1. Next.js features

Styles

Mosaic changes Next.js framework's style-related behaviour

PreviousCRACO pluginsNextPages

Last updated 3 years ago

Was this helpful?

Next.js comes with on style files. Mosaic removes some of these limitations (they contradict Mosaic's principles) in order to provide a better development experience for Mosaic users.

See a list of changes below:

  1. Global CSS is allowed, and not only in the App component

certain limitations