Vue: Add vue-cli example and remove babel-preset-vue #10821
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: #10790 and #4475
What I did
vue-cli
. This is supposed to be a minimum working example using all the latest bells and whistles (typescript, class components, decorators). It is very similar to what someone gets when they runvue create
.babel-preset-vue
but does not depend on it #4475 that is mostly obsolete and only needed for older apps. It is however needed for our vue-kitchen-sink example, so that gave me an immediate case to create a migration path, which is also included in this PR.localIdentName
option in vue-kitchen-sink webpack. It was throwing a warning and doesn't seem to be needed anyway.How to test
yarn storybook
andyarn serve
yarn storybook
andyarn dev
TODO