3dee6097cd
This PR adds an example Next.js project with chakra-ui as its component library using TypeScript. ![image](https://user-images.githubusercontent.com/11686408/91192736-a8ec5980-e6cc-11ea-8f95-b9180defbf47.png) Both libraries has built-in TypeScript declarations. Will help to encourage typed projects, so why not? It's a combination of two existing examples [with-chakra-ui](https://github.com/vercel/next.js/tree/canary/examples/with-chakra-ui) and [with-typescript](https://github.com/vercel/next.js/tree/canary/examples/with-typescript). All credits for their contributors.
23 lines
504 B
JSON
23 lines
504 B
JSON
{
|
|
"name": "with-chakra-ui-typescript",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/core": "^1.0.0-rc.3",
|
|
"@chakra-ui/icons": "^1.0.0-rc.3",
|
|
"next": "latest",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.6.0",
|
|
"@types/react": "^16.9.46",
|
|
"@types/react-dom": "^16.9.8",
|
|
"typescript": "4.0.2"
|
|
},
|
|
"license": "MIT"
|
|
}
|