-
如sass、less这些怎么编译?
-
# 解决YApi在Windows中安装出现的问题
解决YApi在Windows中安装出现的问题
### 推荐环境
nodejs v12
mongodb
yarn
### 命令行工具
cmd 没有 cp 命令,导致默认的命令无法使用
##### 创建 dev.bat 文件 (双击启动开发模式)
```bash
@echo o…
-
1. 请确保 node 版本是 7.6.0,如果是最新的 node 版本,很容易导致 sass 安装需要编译
2. 请确保 npm 版本大于 5.0,并且使用了淘宝源,确保 ykit 是旧版 0.x 版本
3. 第一次执行 npm install 请删除原有的 node_modules 目录,如果 npm install 失败,请查找原因,再次删除后重新安装
4. npm 安装完成后,请执…
-
npm run star 和npm run dev 的具体区别是什么,只是入口文件分别是index.html 和dev.html的区别么,他们在代码结构上有什么区别么?为什么我把client里的所有文件都删除了 ,npm run star和npm run dev 还是可以正常运行,并且代码入口都是app.js
-
## 版本号
~ 最新版本
## 什么问题
~
安装windows 版本
## 如何复现此问题
~
安装步骤是什么
## 什么浏览器
~
chrome
## 什么系统(Linux, Windows, macOS)
windows
-
你好,我的yapi的版本是1.7.0,运行命令安装导入rap的插件,然后提示重启。重启后访问yapi页面报错。报错内容为:Uncaught Error: Cannot find module "./styles/common.scss
看了一下目录架构是有这个文件的。在没安装插件前yapi是可以正常使用。请问可能是什么问题呢?
-
执行安装命令,显示插件安装成功,然后安装依赖失败
-
## 版本号
~
YAPI版本 1.8
## 什么问题
~
windows下进行二次开发 npm run dev启动正常 谷歌浏览器无法打开页面 报错
![image](https://user-images.githubusercontent.com/65579779/82278558-1a758700-99bd-11ea-887b-7eef6e669b96.png)
## …
-
## 版本号
1.5.2
## 什么问题
在yapi目录下,执行 yapi build会提示:ykit: command not found
手工修改 /usr/local/lib/node_modules/yapi-cli/src/commands/build.js,添加:
shell.exec('npm install ykit --registry https://regis…
youbl updated
4 years ago
-
请问一下,static文件夹下的index引用的是prd下的文件,我通过ykit pack -m打包了新文件,并且修改了assets.js 引用的文件均为新打包生成的文件
window.WEBPACK_ASSETS = {"index.js":{"js":"index@ce28a28a5a8226f892ae.js","css":"index@ce28a28a5a8226f892ae.css"}…