caiofsouza / vue-backtotop

A Back-to-top component for Vue.js, which scroll page to the top when clicked
https://caiofsouza.github.io/vue-backtotop/example/
MIT License
182 stars 42 forks source link

Change vue dep to be lower bound #44

Open robinp opened 3 years ago

robinp commented 3 years ago

Previously it was fixed version, pulling in duplicate Vue into the user project potentially.

Noticed by running the webpack-bundle-analyzer plugin (see https://dev.to/m9hmood/reduce-vue-js-application-size-kfl), then did npm ls vue, which printed


$ npm ls vue                                                                                                                                               
my-ui
├── vue@2.6.9
├─┬ vue-backtotop@1.6.1                                                                                                                                                                                              
  └── vue@2.3.3                                                                                                                                                                                                    ```
Thanks for the component btw!
robinp commented 2 years ago

Gentle ping.