๐ Quick Start
Plumeria's installation, compilation and linting setup
Installation
At this point you can start writing your styles.
If you like plumeria's dev:runtime, such as hot reloading, You can set up the compiler in stages.
Compiler
npx css
compiles without type checking. Adding the argument
--type-check
will include compilation checking using TypeScript. You can also add the
--log
argument to see the CSS log that is output during compilation. It is recommended to generating server-side static CSS with
a faster compile In parallel next dev.
Integration
you need to configure it in your configuration file.
Server component
You can statically preview a Next.js's ServerComponent using <ServerCSS \>
.
This ServerCSS is a headless component and is not included in the production environment.
More
Linting
Uses the community-made eslint-plugin-object-css.