diff --git a/packages/@vue/cli-ui/ui-defaults/suggestions.js b/packages/@vue/cli-ui/ui-defaults/suggestions.js index 735f6052c3..3ba5bb5448 100644 --- a/packages/@vue/cli-ui/ui-defaults/suggestions.js +++ b/packages/@vue/cli-ui/ui-defaults/suggestions.js @@ -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