Buckets:
32.9 GB
31,201 files
Updated 2 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| public | 1 items | ||
| pages | 2 items | ||
| tsconfig.json | 486 Bytes xet | 2effff72 | |
| package.json | 406 Bytes xet | 81ffa0f6 | |
| README.md | 1.44 kB xet | a26234f1 | |
| .gitignore | 437 Bytes xet | f8bee8be |
Example app with Paste and TypeScript
This example features how to use Paste as the component library within a Next.js app with TypeScript.
Next.js and Paste have built-in TypeScript declarations, so you'll get autocompletion for their modules straight away.
pages/_app.tsx is used to connect Paste's Theme Provider so the pages can have app-wide styles.
Deploy your own
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-paste-typescript with-paste-typescript-app
yarn create next-app --example with-paste-typescript with-paste-typescript-app
pnpm create next-app --example with-paste-typescript with-paste-typescript-app
Deploy it to the cloud with Vercel (Documentation).
- Total size
- 32.9 GB
- Files
- 31,201
- Last updated
- Sep 26
- Pre-warmed CDN
- US EU US EU