Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

lay2dev/NFT-RedPacket

Repository files navigation

nuxt

设置 npm 镜像源

查看当前

yarn config get registry

默认

yarn config set registry https://registry.yarnpkg.com

腾讯

npm config set registry https://mirrors.tencent.com/npm/

npm install nrm -g; nrm add tencent https://mirrors.tencent.com/npm/; nrm use tencent;

行尾序列

先设置 教程

git config --global core.autocrlf false

再重新克隆项目

Build Setup

# 安装依赖
$ yarn install

# 启动服务 localhost:3000
$ yarn start

# build for production and launch server
$ yarn build
$ yarn preview

# 静态打包
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.