diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3103260..793f4e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ before_script: - yarn install deploy-pages: + variables: + VITE_API_URL: https://94f4d2a6f1595ab1.mokky.dev script: - npm run build pages: true @@ -13,3 +15,5 @@ deploy-pages: paths: - dist publish: dist + after_script: + - echo Vue Sneakers Page Deployed at $CI_PAGES_UR diff --git a/package.json b/package.json index bef4211..ca33da5 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "format": "prettier --write src/" }, "dependencies": { + "axios": "^1.7.9", "vue": "^3.5.13" }, "devDependencies": { diff --git a/src/App.vue b/src/App.vue index 79fd162..ecbc5cc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,46 @@