installation
How to install dependencies and structure your app.
Pick Your Framework
Start by selecting your framework of choice. Then follow the instructions to install the dependencies and structure your app. @gentleduck/ui is built to work with all React frameworks.
TypeScript
This project and the components are written in TypeScript. We recommend using TypeScript for your project as well.
JavaScript projects are supported today. You can use the same components without TypeScript types. Use the CLI page for setup and component add commands.
To configure import aliases, you can use the following jsconfig.json:
jsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}jsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}