网站使用NextJS且内容丰富
首先,请确保您已安装git lfs 。
在Mac上运行:
brew install git-lfs
之后,您必须在网站目录中安装git-lfs并将其拉出。
git lfs install
git lfs pull
安装并运行:
npm install
npm run dev
# or
yarn
yarn dev
构建并运行:
npm run build
npm run start
# or
yarn build
yarn start
推荐:
分别运行BuckleScript构建系统bsb -w和next -w 。 为了简单起见, npm run dev运行bsb和next 。 但是,这并没有提供ReasonML可以提供的 ,出色的 体验,请不要错过!
有两个便捷脚本可帮助运行这些单独的进程:
npm run dev:reason rea
评论0