wegue-oss / wegue

Template and components for webmapping applications with OpenLayers and Vue.js
BSD 2-Clause "Simplified" License
97 stars 42 forks source link

Migrate to app template created with Vue-CLI v3 #94

Open chrismayer opened 5 years ago

chrismayer commented 5 years ago

Since some dev-dependencies are out of date - especially webpack - and the upgrade isn't that straight forward there might be the possibility to create a new app template.

I had a quick chat with @jakobmiksch about this topic and he told me that the template Wegue was initially created with is deprecated (see https://github.com/vuejs-templates/webpack). Everything what has been done with the template should now be doable with Vue-CLI v3.

So it might be an idea to create a new application setup with Vue-CLI and apply the adaptations for Wegue, so we have an up-to-date setup with webpack and co.

Any thoughts or comments?

chrismayer commented 4 years ago

After a few first tests with Vue CLI (v3) I am pretty sure that this is the way to go. The generated app setup of Vue CLI removes a lot of outdated dependencies and for the rest it gives us up-to-date deps by having more or less the same functionality (transpiling, bundling / production build, linting, etc.). The only thing I did not check yet is if there is a test suite or how we integrate our test suite to that project setup of Vue CLI (but surely doable).