/next-ant-ts

Work in progress: a mobile-first boilerplate starter for nextJS with ant design components

Primary LanguageTypeScript

This is a Next.js project bootstrapped with create-next-app, Typescript and Ant Design.

Getting Started

First, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

Folder Structure

.
├── README.md
├── typings.d.ts
├── components
├── config.ts
├── next-env.d.ts
├── next.config.js
├── node_modules
├── package.json
├── pages
  ├── api  --------------- must stay at root of pages
  ├── _posts ------------- markdown files go here
  ├── posts -------------- contains .tsx for to-be-generated markdown-to-view component
├── public --------------- static assets go in here
├── styles
├── tree.txt
├── tsconfig.json
└── yarn.lock

Dev Notes:

Be sure to not have a static file with the same name as a file in the pages/ directory, as this will result in an error.

Read more: https://nextjs.org/docs/messages/conflicting-public-file-page