KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
732 stars 91 forks source link

chrome 49 support #211

Closed lordenas closed 2 years ago

lordenas commented 2 years ago

Thanks for the awesome library. We are currently migrating to vue 3. We need support for chrome 49, and we are faced with the fact that vue-tippy uses the spread operator.

Are any solutions possible?

I am using vue 3.0.0 and vue-tippy 6.0.0-alpha.35

2021-10-26 15 35 09 2021-10-26 15 35 14

KABBOUCHI commented 2 years ago

are u loading it from a CDN, or using a build process? u can transpile the lib using babel/webpack

lordenas commented 2 years ago

the error occurs in the build process. I thought we can add a plugin to babel.config.js

module.exports = {
   "presets": ["@ vue / cli-plugin-babel / preset"],
   "plugins": [["@ babel / plugin-proposal-object-rest-spread", {"loose": true, "useBuiltIns": true}]]
};

but it didn't work.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.