chore: move typed-router.d.ts to src and update version to 20 (#516)
This commit is contained in:
1 parent
4b5f999a23
commit
3f48f5d3f4
4 files changed
+3
-2
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM node:16-alpine as build-stage
|
FROM node:20-alpine as build-stage
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[build.environment]
|
[build.environment]
|
||||||
NODE_VERSION = "16"
|
NODE_VERSION = "20"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
|
|||||||
File renamed without changes.
@@ -36,6 +36,7 @@ export default defineConfig({
|
|||||||
// https://github.com/posva/unplugin-vue-router
|
// https://github.com/posva/unplugin-vue-router
|
||||||
VueRouter({
|
VueRouter({
|
||||||
extensions: ['.vue', '.md'],
|
extensions: ['.vue', '.md'],
|
||||||
|
dts: 'src/typed-router.d.ts',
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts
|
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts
|
||||||
|
|||||||
Reference in new issue
Block a user