vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.63k stars 2.08k forks source link

Vue CLI integration #1974

Closed DavidRouyer closed 5 years ago

DavidRouyer commented 6 years ago

For now, the idea is to create a Vue CLI plugin which will automate the integration of Vue Storefront into an existing Vue CLI 3 project. (we'll think about nuxt.js later) That way, we don't need to write a opinionated boilerplate (or multiple boilerplates), we can directly adapt to the user settings.

Steps to simplify the work:

filrak commented 6 years ago

Find a solution for not having to make a specific Webpack workflow for the service worker (https://github.com/DivanteLtd/vue-storefront/blob/master/core/service-worker/index.js) (Imports are the problem here)

I believe vue-cli itself will handle the problem since their pwa plugin is generating service worker based on ptovided workbox config. This config can accept external service worker src which will be bundled with the one generated with workbox.

So basically vue-cli gives us this separate build out of the box ;)

pkarw commented 6 years ago

We're all crossing fingers for this feature 🤝 🤞🤞

filrak commented 6 years ago

Ok i believe with mine and @NataliaTepluhina help we will be able to do it ;)

fancydev18 commented 5 years ago

Hi @pkarw , why was this closed? How can I help making it happen?

pkarw commented 5 years ago

We resigned from explicitly supporting Vue CLI - and @filrak started with the create-vsf-app kind of tool -> https://github.com/DivanteLtd/vue-storefront/pull/2856