Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support vue 2.6 and 2.7 #503

Merged
merged 13 commits into from
Sep 28, 2022
Merged

Support vue 2.6 and 2.7 #503

merged 13 commits into from
Sep 28, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Sep 24, 2022

This cherry-picks some commits from @heykc's PR #469, but puts them on top of #502, so that we can have multiple versions of vue examples that don't conflict with each other in the monorepo, which was one of the challenges in the original PR.

This also attempts to read the version of vue from the user's package.json, determine whether it's 2.6 or 2.7, and use the appropriate vite plugin, as suggested by @Djaler.

Base automatically changed from remove-examples-from-workspaces to main September 28, 2022 01:15
heykc and others added 13 commits September 27, 2022 21:30
make sure vite-config passes boolean value. true for now until we can
determine whether or not a user is using the vue or vue3 framework
change language of duped example to reflect vue2 usage.

# Conflicts:
#	examples/vue/yarn.lock
#	examples/vue2/.storybook/main.cjs
#	package.json
# Conflicts:
#	packages/builder-vite/vite-config.ts
It seems that adding a dep to core builder-vite requires a new lockfile update
in every example.  Oof.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants