modern-ui.json
The modern-ui.json
file holds configuration for your project.
We use it to understand how your project is set up and how to generate components customized for your project.
Note: The modern-ui.json
file is optional and only required if you're using the CLI to add components to your project. If you're using the copy and paste method, you don't need this file.
You can create a modern-ui.json
file in your project by running the following command:
See the CLI section for more information.
style
The style for your components. This cannot be changed after initialization.
outDir
The directory where the components will be installed.
typescript
TypeScript support toggle.
tailwind
Tailwind support toggle.
tailwindVersion
The version of Tailwind to use.
framework
Detected framework
theme
The theme to use.
aliases
Aliases for components.
components
Tracks installed components.