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

Is current next branch working on Vue 3? #817

Open
RobsonMi opened this issue Mar 13, 2022 · 3 comments
Open

Is current next branch working on Vue 3? #817

RobsonMi opened this issue Mar 13, 2022 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested
Milestone

Comments

@RobsonMi
Copy link

Hi,

is current next branch working on Vue 3? Is there any example how to get it to work?

Kindly

@vinayakkulkarni vinayakkulkarni added documentation Improvements or additions to documentation question Further information is requested labels Apr 7, 2022
@vinayakkulkarni vinayakkulkarni self-assigned this Apr 7, 2022
@vinayakkulkarni
Copy link
Owner

Yes, I have refactored the main branch to be compatible with Vue 3. Please checkout this repo til I work on #854

@AEiosApp
Copy link

Hi, what is the right way to install via npm?

I tried:
npm install --save v-mapbox mapbox-gl

But got bunch of errors require vue 2:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: com.ae.touringbee@0.0.1
npm ERR! Found: vue@3.2.31
npm ERR! node_modules/vue
npm ERR!   vue@"^3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@">= 2.5 < 3" from @vue/composition-api@1.4.9
admin@Antons-MacBook-Pro-2 touringbeeapp % npm install --save v-mapbox mapbox-gl
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: com.ae.touringbee@0.0.1
npm ERR! Found: vue@3.2.31
npm ERR! node_modules/vue
npm ERR!   vue@"^3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@">= 2.5 < 3" from @vue/composition-api@1.4.9
npm ERR! node_modules/@vue/composition-api
npm ERR!   peer @vue/composition-api@"^1.4.1" from v-mapbox@1.11.1
npm ERR!   node_modules/v-mapbox
npm ERR!     v-mapbox@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/admin/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/admin/.npm/_logs/2022-04-10T23_22_15_006Z-debug-0.log

@jasonhibbs
Copy link

jasonhibbs commented Apr 11, 2022

I needed to install at 3.1.0, and literally checkout the repo linked above to see how the new components are in use with CommonMap.vue

npm install --save v-mapbox@3.1.0 mapbox-gl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants