Skip to content

Conversation

haoqunjiang
Copy link
Member

fixes #4291

@haoqunjiang haoqunjiang merged commit a1c88ed into vuejs:dev Jul 22, 2019
cexbrayat added a commit to cexbrayat/vue-cli that referenced this pull request Jul 29, 2019
The recent refactoring in vuejs#4330 introduced a regression where a `Home.vue` file was generated if using the TS plugin even without the router plugin. This happened because the result from the ejs rendering was `undefined`. This fixes the issue by not generating a file if the content is `undefined`.
cexbrayat added a commit to cexbrayat/vue-cli that referenced this pull request Jul 29, 2019
The recent refactoring in vuejs#4330 introduced a regression where a `Home.vue` file was generated if using the TS plugin even without the router plugin. This happened because the result from the ejs rendering was `undefined`. This fixes the issue by returning an empty string instead, which will not be written.
cexbrayat added a commit to cexbrayat/vue-cli that referenced this pull request Jul 29, 2019
The recent refactoring in vuejs#4330 introduced a regression where a `Home.vue` file was generated if using the TS plugin even without the router plugin. This happened because the result from the ejs rendering was `undefined`. This fixes the issue by returning an empty string instead, which will not be written.
haoqunjiang added a commit that referenced this pull request Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find module '@vue/cli-plugin-router/generator/template/src/views/Home.vue'
1 participant