Quickstart
This guide will walk you through the basics of setting up and using Jux toolkit in your project.
Installation
The fastest way to get started with Jux is to use the Jux CLI. The CLI will help you set up a new project and generate the necessary configuration files.
-
Install Jux CLI
-
Initialize a new project
This will install the necessary dependencies, create a
jux.config.ts
andpostcss.config.js
files in your project root.More information
Under the hood
The previous step created
jux.config.ts
, which specifies the paths to your source files. Jux will scan and parse these files to generate the CSS.Generating a CSS file
By running the Jux build process you can generate a CSS file for static usage. This file will include all styles used in your project, along with tokens and theme configurations.
-
Add the Jux layers to your main CSS file:
-
Start using Jux in your project
Next steps
Get familiar with some of the core concepts that make Jux different compared to other styling solutions.