Docs
installation
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. duck-ui/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.
However we will provide a JavaScript version of the components as well in the feture. cli.
To configure import aliases, you can use the following jsconfig.json
:
jsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}
jsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}