Skip to content

Commit

Permalink
fix(ui): "add router" button should not require prompt in terminal (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Oct 22, 2019
1 parent 6904e3b commit 8093630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@vue/cli-ui/ui-defaults/suggestions.js
Expand Up @@ -89,7 +89,9 @@ async function install (api, id) {
apply: loadModule(`@vue/cli-service/generator/${id}`, context)
})
} else {
await add(id, {}, context)
// FIXME: a temporary fix for adding router plugin
// should implement a plugin prompt ui later
await add(id, { $inlineOptions: '{}' }, context)
}
} catch (e) {
error = e
Expand Down

0 comments on commit 8093630

Please sign in to comment.