Closed
Description
Version
3.0.0
Node and OS info
node 8.11.1 / yarn 1.9.2 / mac 10.13.5
Steps to reproduce
1.根据文档要求,在preset.json同级目录创建Prompts.js 和generator.js
2.使用命令 vue create --preset ./my-preset xxxxx
What is expected?
prompts.js 内容如下:
module.exports = [
{
name: "wechartEnv",
type: "confirm",
message: xxxx
},
{
name: "needLinkme",
type: "confirm",
message: xxxxx
}
];
What is actually happening?
并未出现任何选项,generator.js无设置无效果