Skip to content

Conversation

@2nthony
Copy link
Member

@2nthony 2nthony commented May 17, 2019

Why

经历迁移组件手动复制粘贴痛苦,upgrade脚本就诞生了

Usage

# 在组件文件夹内运行即可
npx vue-sfc-cli --upgrade

# 可以指定一些额外需要更新的文件
npx vue-sfc-cli --upgrade --files .babelrc,README.md

Xmind

image

init.js Outdated
}
})

setFilePermission(path.join(outDir, 'build.sh'), '755')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need this function

@levy9527 levy9527 changed the title feat: 支持-u, --upgrade更新组件模板 feat: 支持-u, --upgrade更新组件配置 May 17, 2019
@levy9527 levy9527 added the enhancement New feature or request label May 17, 2019
@levy9527 levy9527 merged commit bc88af5 into FEMessage:dev May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants