-
执行 `ykit pack -m` 命令后,`prd` 目录没有 `index.html`
尝试添加 `html-webpack-plugin`,结果错误:
Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
如果要给每个文件加上 hash,该怎么做?
-
按照命令执行,在打开浏览器时发现找不到对应页面,访问localhost直接会到phpStudy的页面。猜测可能是phpStudy的原因导致的, 卸载了phpStudy果然好了; 另外cd .. & ykit server 想问下为什么要跑到项目文件夹外部去运行server 直接在项目中运行然后访问localhost/index.html不是更方便么
-
## 版本号
v1.3.10
## 什么问题
console报错:React is running in production mode, but dead code elimination has not been applied.
## 如何复现此问题
打开yapi.demo.qunar.com后,chrome浏览器开发者工具中会有报错:
VM135:21 Uncaught…
-
## 版本号
node: v7.10.0
npm: v4.2.0
mongo: v3.6.2
## 什么问题
想在本地跑下客户端代码,改一些视图,但是无法编译通过,本地开发的话是有系统版本的限制么?
![image](https://user-images.githubusercontent.com/8576977/38016960-4ace6ad0-32a3-11e8-8110-27…
-
## 版本号
~ 1.3.8
## 什么问题
~ 自动生成的mock接口访问跨域,想通过改响应header解决,但是设置里面 Pre-response Script(响应数据处理脚本) 配置无效,例如:context.responseHeader.aa = "43"; 在响应头里面就没有此数据
## 如何复现此问题
~ 设置里面 配置 响应预处理脚本(context.resp…
-
## Version
~
## What is expected
错误信息如下:
Module build failed: ModuleBuildError: Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "base" at 0, attempted to re…
tlzzu updated
6 years ago
-
修改前端无法热更新页面,而是要重新输入命令“npm run dev”重新打包。作者能否在ykit插件里加入这个功能。
-
本地修改了yapi/vendors/server/models/interface.js文件,执行ykit package -m ,启动node server/app.js后并没有生效,不知道是不是缺失了什么步骤??希望能有个二次开发如何编译和运行的文档,谢谢
-
ykit] ykit@2.0.2
[error] ./client/styles/theme.less
Module build failed: ModuleParseError: Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file…
-
用的是最新版2.01
执行 `ykit init `的时候报错
错误信息:
PS D:\project\ykit-startkit> ykit init
C:\Users\zihaocao\AppData\Roaming\nvm\v8.3.0\node_modules\ykit\lib\commands\init.js:22
Manager.reloadRC();
…