flyfinec / react-next-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React next boilerplate

This example shows how to use Next.js along with Ant Design of React. This is intended to show the integration of this UI toolkit with the Framework.

Next.js and antd

Next.js of React Framework
Ant Design of React

Install and run

Install dependencies:

docker run --rm -it -v $(pwd):/app -w /app node:12-alpine yarn install
# or
yarn install

Install mock dependencies:

cd mock

docker run --rm -it -v $(pwd):/app -w /app node:12-alpine yarn install
# or
yarn install

cd ..

Run it:

docker compose up -d

Dev url:
http://localhost:3000/

About

License:MIT License


Languages

Language:JavaScript 94.3%Language:Dockerfile 2.9%Language:Shell 1.8%Language:CSS 1.0%