On this page
Installation
This page describes installation and compile and plubin, and other details.
Install packages
Integration
you need to configure it in your configuration file.
Compile command
`npx elter`
compiles without type checking.
Adding the argument `--compile`
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 before next dev.
Server component
You can statically preview a ServerComponent using `<ServerCSS />`
.
This ServerCSS will be null in production.
Global style
All you have to do is import the file that calls the cssx.global method.
Linter setting
Supported deps
I'ts confirmed to work with Node.js versions from 18, 20, 22.
If your project's dependencies are at an earlier version, update them.
- @types/node: ^22.5.4.
- typescript: ^5.4.5.