Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

Official webpack template integration #44

Open
egoist opened this issue Dec 29, 2016 · 6 comments
Open

Official webpack template integration #44

egoist opened this issue Dec 29, 2016 · 6 comments

Comments

@egoist
Copy link
Collaborator

egoist commented Dec 29, 2016

It should be easy to add vue-play to a webpack-template project.

Maybe send a PR to https://github.com/vuejs-templates/webpack/tree/master/docs to introduce how.

@dweldon
Copy link

dweldon commented Jan 1, 2017

For anyone working on this, you can see my hacky solution here.

@wienska
Copy link

wienska commented Feb 10, 2017

Hi! Can't integrate vue-play with vue-cli webpack template, got webpack building error: TypeError: Cannot read property '0' of undefined. Am I doing smth wrong? Any solution?

@dweldon
Copy link

dweldon commented Feb 12, 2017

I just added an updated (and more detailed) set of instructions here:

https://gist.github.com/dweldon/b6ab44b4f53ffdfad3a77b3157f0833c

This new version integrates with the existing webpack build process instead of using vue-play-cli.

@wienska
Copy link

wienska commented Feb 14, 2017

Thanks a lot!

@pulkitnandan
Copy link

No this doesn't works. Some package is missing here.

@dweldon
Copy link

dweldon commented Feb 15, 2017

@pulkitnandan Well it works for me, but I'm using the absolute latest version of vue-cli webpack. I will attempt to keep the instructions updated as new versions are released.

You may want to consider generating a new project skeleton and then either diffing it against your current project or just migrating your files to the new skeleton. I prefer diffing, but it's a manual process that takes a while each time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants