DEV Community

Discussion on: Deploy a React App as a Github User Page with Yarn

Collapse
 
coffeegerm profile image
David Yarzebinski

Would this work just as well with Vue? or just React?

Collapse
 
engineercoding profile image
Wesley Ameling

I would imagine every framework will work which builds everything into HTML, CSS and JS files; you are manually building it when pushing it to master.

I am not familair with Vue (at least, haven't tried it) but I would imagine it is quite a similar process as you are essentially building the proper files.

Collapse
 
javascripterika profile image
JavaScriptErika

I did some digging around, here's what I found for vue:

vue-gh-pages
npmjs.com/package/vue-gh-pages

and

vuepress.vuejs.org/guide/deploy.ht...

^ This method appears to be the most straightforward for vue, as you don't need to add any dependencies. I'd still recommend creating a source branch as you'd be pushing your build files directly to master.