The Aero UI TypeScript configuration.
npm install @aero-ui/typescript-config@aero-ui/typescript-config 👨🎨A sample TypeScript configuration of the Aero UI.
- Installation ☁️
- API 🏭
- Base 🏗️
- Next.js ▲
- React Native ⚛️
---
npm:
``sh`
npm install @aero-ui/typescript-config --save-dev
Yarn:
`sh`
yarn add @aero-ui/typescript-config -D
pnpm:
`sh`
pnpm install @aero-ui/typescript-config -D
---
Currently there are available TypeScript configurations that support Next.js and React Native. But, there is a base configuration that you can use in your project, this same configuration are extended by nextjs and react-native.
Below, a small example of the configuration in your project:
`json``
{
"extends": "@aero-ui/typescript-config/react-native", // <-- Add this line
"include": ["."],
"exclude": ["dist", "build", "node_modules"],
"compilerOptions": {
"strict": true
}
}
A generic TypeScript configuration can be used in your project. Click here to see the configuration.
A TypeScript configuration for Next.js is available here. This configuration extends the base configuration and adds support for Next.js specific features like server-side rendering, automatic static optimization, and more.
A TypeScript configuration for React Native is available here. This configuration extends the base configuration and adds support for React Native specific features like bundle splitting, code splitting, and more.