Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
vue-utility
Commits
a1d0ba42
Commit
a1d0ba42
authored
Jul 24, 2025
by
Administrator
Browse files
added subpath "vue-utilites" in router
parent
af99f91a
Changes
2
Show whitespace changes
Inline
Side-by-side
src/router/index.js
View file @
a1d0ba42
...
@@ -20,7 +20,7 @@ const routes = [
...
@@ -20,7 +20,7 @@ const routes = [
]
]
const
router
=
createRouter
({
const
router
=
createRouter
({
history
:
createWebHistory
(),
history
:
createWebHistory
(
'
vue-utilities/
'
),
routes
routes
})
})
...
...
vite.config.js
View file @
a1d0ba42
...
@@ -3,5 +3,6 @@ import vue from '@vitejs/plugin-vue'
...
@@ -3,5 +3,6 @@ import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
// https://vite.dev/config/
export
default
defineConfig
({
export
default
defineConfig
({
base
:
'
/vue-utilities/
'
,
plugins
:
[
vue
()],
plugins
:
[
vue
()],
})
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment