Bubbles
0 points · 71 days ago · 0 comments

Here is a recap of how I created a UI library (with Storybook and TypeScript) optimized for a Next.js website. Initialize a new project Create a new project, and initialize it with Node.js. mkdir ui-library cd ui-library npm init Install the React, Next.js and TypeScript dependencies: npm install --save-dev react react-dom next typescript @types/react If you want linting, install ESLint following their installation guide. Accept installing the extra dependencies when prompted. npm init @eslin...

No comments yet. Log in to discuss on the Fediverse