Description
Hello, I maintain a vue-cli
template and I recently made some updates to make use of Vue's new SSR features. Part of stealing Evan You's code from the hackernews example involved renaming client-entry.js
and server-entry.js
to entry-client.js
and entry-server.js
respectively.
Upon testing out the newly pushed code, I discovered that vue-cli
was still scaffolding client-entry.js
and server-entry.js
as well as entry-client.js
and entry-server.js
.
This problem was resolved by deleting the .vue-templates
folder in my home dir.
I suspect this will become a bigger issue when any official/popular template renames (or possibly deletes) a file. And it will affect any user that used the template prior to the file changes.
Because of this, I think that at a minimum, a note about the .vue-templates
dir should be added to the README - Though I believe this is a subpar solution as the user may not even be aware that there are problems/dead code.
I think, ideally, vue-cli
should remove template dirs when downloading updated templates.
Thank vue very much for your time!