ruru.json
The `ruru.json` file is used to configure the project.
The ruru.json
file is used to configure the project.
We use it to understand how your project is set up and how to generate components customized for your project.
You can create a ruru.json
file by running the following command:
Read more about the init
command here.
$schema
The $schema
property is used to specify the version of the schema that the ruru.json
file uses.
tailwind
config
The tailwind
property is used to specify the configuration for the Tailwind CSS framework.
css
The css
property is used to specify the configuration for your css file.
cssVariables
The cssVariables
property is used to specify if you would like to use CSS variables for colors.
prefix
The prefix
property is used to specify if you are using a custom tailwind prefix eg. tw-.
rsc
The rsc
property is used to specify if you would like to use the RSC (React State Component) pattern.
tsx
The tsx
property is used to specify if you would like to use TypeScript.
aliases
The aliases
property is used to specify the import alias for components and utils.
utils
The utils
property is used to specify the import alias for utils.
components
The components
property is used to specify the import alias for components.
ui
The ui
property is used to specify the import alias for ui components.
provider
The provider
property is used to specify the import alias for the provider.
interfaces
The interfaces
property is used to specify the import alias for interfaces.