Static Website Hosting with GitLab Pages
How to host VueJS apps using GitLab Pages

How to host VueJS apps using GitLab Pages

9/13/2023 · Sophia Manicor

What this post added

This post provides a tutorial on hosting VueJS applications using GitLab Pages. It details the steps for setting up a VueJS application using `vue-cli`, configuring the `.gitlab-ci.yml` file for GitLab Pages deployment (specifying `node:16-alpine` image, build and deploy stages, and artifacts path), and modifying `vue.config.js` to set the `outputDir` to 'public' and dynamically configure the `publicPath` based on the `CI_PAGES_URL` environment variable.

Read the original post ↗