@composi/styler:
Install
No Install
If you've created a project using create-composi-app
, you do not have to install
@composi/styler. It is already installed in the new project and ready to import into your code. Read
the documentation for
create-composi-app to
learn how to get up and running fast.
To use @composi/styler, you'll need to import it into your project:
import { addStyles } from '@composi/styler'
Once you've imported @composi/styler into your project you are ready to start using it. Read the docs for Styler and Usage.
If you want to use @composi/styler with a library/framework other than @composi/core, you need to install it from NPM and then import it into your project:
npm i -D @composi/styler
import { addStyles } from '@composi/styler'