NIO-F3-Web/README.md

28 lines
438 B
Markdown
Raw Permalink Normal View History

2025-08-04 14:53:25 +08:00
#### Build Setup
``` bash
# 安装依赖
npm install
# 启动服务 localhost:8013
npm run dev
# 构建生产环境
npm run build:prod
```
#### 常见问题
1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题
解决方案:
```
1. 单独安装npm install --unsafe-perm node-sass
2. 直接使用npm install --unsafe-perm
```
2、加速node-sass安装
https://www.ydyno.com/archives/1219.html