Skip to content

Commit

Permalink
read from import obejct
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Mar 26, 2024
1 parent 3541c66 commit 7e4aebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { createRouter, createWebHistory } from 'vue-router/auto'
import { setupLayouts } from 'virtual:generated-layouts'

console.log(`base url is ${process.env.BASE_URL}`)
console.log(`base url is ${import.meta.env.BASE_URL}`)
const router = createRouter({
history: createWebHistory("/arbomap"),
extendRoutes: setupLayouts,
Expand Down

0 comments on commit 7e4aebf

Please sign in to comment.