Next.js ▲ + Typescript + Storybook The Really Simple Guide 2019

1. Create a Basic Project mkdir my-app cd my-app yarn init -y yarn add react react-dom next mkdir pages Then, open the package.json file in the root directory and replace scripts with the following: “scripts”: { “dev”: “next”, “build”: “next build”, “start”: “next start” } We’ll also need a page to render, let’s create pages/index.tsx : const Home […]

Continue Reading