Skip to content

Commit

Permalink
chore(ui): comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Apr 23, 2018
1 parent dc8b454 commit d12716a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ module.exports = api => {
path: '@vue/cli-ui-addon-webpack/dist'
})

// Open app button
api.ipcOn(({ data }) => {
if (data.vueServe) {
setSharedData('serve-url', data.vueServe.url)
}
})

onAction('open-app', () => {
const url = getSharedData('serve-url')
url && openBrowser(url.value)
Expand Down

0 comments on commit d12716a

Please sign in to comment.