Skip to content
Snippets Groups Projects
Commit 78f17357 authored by ivelov-vm's avatar ivelov-vm
Browse files

feat: add public path variable

parent 70cdf3a4
No related branches found
No related tags found
1 merge request!1Git pages merge
......@@ -5,7 +5,7 @@
<p class="font-medium text-xl">
<img
class="inline mr-4 w-[42px] h-[42px]"
:src="`/img/services/${data.image}`"
:src="`${$publicPath}img/services/${data.image}`"
alt=""
/>{{ data.name }}
</p>
......
......@@ -5,6 +5,8 @@ import router from './plugins/router'
Vue.config.productionTip = false
Vue.prototype.$publicPath = process.env.BASE_URL
new Vue({
router,
render: h => h(App),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment