chore: update dependencies

This commit is contained in:
KUN1007 2023-10-22 16:53:39 +08:00
parent eafdf765d5
commit 092c912be4
6 changed files with 199 additions and 175 deletions

View file

@ -16,6 +16,6 @@
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/entry-client.ts"></script>
</body> </body>
</html> </html>

View file

@ -18,32 +18,33 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@vue/server-renderer": "^3.3.6",
"@vueup/vue-quill": "^1.2.0", "@vueup/vue-quill": "^1.2.0",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"dompurify": "^3.0.6", "dompurify": "^3.0.6",
"localforage": "^1.10.0", "localforage": "^1.10.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.1.6", "pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.0", "pinia-plugin-persistedstate": "^3.2.0",
"quill-blot-formatter": "^1.0.5", "quill-blot-formatter": "^1.0.5",
"quill-image-compress": "^1.2.30", "quill-image-compress": "^1.2.30",
"quill-magic-url": "^4.2.0", "quill-magic-url": "^4.2.0",
"vue": "^3.3.4", "vue": "^3.3.6",
"vue-i18n": "^9.5.0", "vue-i18n": "^9.5.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@iconify/vue": "^4.1.1", "@iconify/vue": "^4.1.1",
"@types/dompurify": "^3.0.3", "@types/dompurify": "^3.0.4",
"@types/js-cookie": "^3.0.4", "@types/js-cookie": "^3.0.5",
"@types/node": "^20.8.4", "@types/node": "^20.8.7",
"@types/nprogress": "^0.2.1", "@types/nprogress": "^0.2.2",
"@vitejs/plugin-vue": "^4.4.0", "@vitejs/plugin-vue": "^4.4.0",
"rollup-plugin-visualizer": "^5.9.2", "rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.69.3", "sass": "^1.69.4",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"vite": "^4.4.11", "vite": "^4.5.0",
"vue-tsc": "^1.8.19" "vue-tsc": "^1.8.19"
}, },
"keywords": [ "keywords": [

View file

@ -5,9 +5,12 @@ settings:
excludeLinksFromLockfile: false excludeLinksFromLockfile: false
dependencies: dependencies:
'@vue/server-renderer':
specifier: ^3.3.6
version: 3.3.6(vue@3.3.6)
'@vueup/vue-quill': '@vueup/vue-quill':
specifier: ^1.2.0 specifier: ^1.2.0
version: 1.2.0(vue@3.3.4) version: 1.2.0(vue@3.3.6)
animate.css: animate.css:
specifier: ^4.1.1 specifier: ^4.1.1
version: 4.1.1 version: 4.1.1
@ -24,11 +27,11 @@ dependencies:
specifier: ^0.2.0 specifier: ^0.2.0
version: 0.2.0 version: 0.2.0
pinia: pinia:
specifier: ^2.1.6 specifier: ^2.1.7
version: 2.1.6(typescript@5.2.2)(vue@3.3.4) version: 2.1.7(typescript@5.2.2)(vue@3.3.6)
pinia-plugin-persistedstate: pinia-plugin-persistedstate:
specifier: ^3.2.0 specifier: ^3.2.0
version: 3.2.0(pinia@2.1.6) version: 3.2.0(pinia@2.1.7)
quill-blot-formatter: quill-blot-formatter:
specifier: ^1.0.5 specifier: ^1.0.5
version: 1.0.5(quill@1.3.7) version: 1.0.5(quill@1.3.7)
@ -39,46 +42,46 @@ dependencies:
specifier: ^4.2.0 specifier: ^4.2.0
version: 4.2.0 version: 4.2.0
vue: vue:
specifier: ^3.3.4 specifier: ^3.3.6
version: 3.3.4 version: 3.3.6(typescript@5.2.2)
vue-i18n: vue-i18n:
specifier: ^9.5.0 specifier: ^9.5.0
version: 9.5.0(vue@3.3.4) version: 9.5.0(vue@3.3.6)
vue-router: vue-router:
specifier: ^4.2.5 specifier: ^4.2.5
version: 4.2.5(vue@3.3.4) version: 4.2.5(vue@3.3.6)
devDependencies: devDependencies:
'@iconify/vue': '@iconify/vue':
specifier: ^4.1.1 specifier: ^4.1.1
version: 4.1.1(vue@3.3.4) version: 4.1.1(vue@3.3.6)
'@types/dompurify': '@types/dompurify':
specifier: ^3.0.3
version: 3.0.3
'@types/js-cookie':
specifier: ^3.0.4 specifier: ^3.0.4
version: 3.0.4 version: 3.0.4
'@types/js-cookie':
specifier: ^3.0.5
version: 3.0.5
'@types/node': '@types/node':
specifier: ^20.8.4 specifier: ^20.8.7
version: 20.8.4 version: 20.8.7
'@types/nprogress': '@types/nprogress':
specifier: ^0.2.1 specifier: ^0.2.2
version: 0.2.1 version: 0.2.2
'@vitejs/plugin-vue': '@vitejs/plugin-vue':
specifier: ^4.4.0 specifier: ^4.4.0
version: 4.4.0(vite@4.4.11)(vue@3.3.4) version: 4.4.0(vite@4.5.0)(vue@3.3.6)
rollup-plugin-visualizer: rollup-plugin-visualizer:
specifier: ^5.9.2 specifier: ^5.9.2
version: 5.9.2 version: 5.9.2
sass: sass:
specifier: ^1.69.3 specifier: ^1.69.4
version: 1.69.3 version: 1.69.4
typescript: typescript:
specifier: ^5.2.2 specifier: ^5.2.2
version: 5.2.2 version: 5.2.2
vite: vite:
specifier: ^4.4.11 specifier: ^4.5.0
version: 4.4.11(@types/node@20.8.4)(sass@1.69.3) version: 4.5.0(@types/node@20.8.7)(sass@1.69.4)
vue-tsc: vue-tsc:
specifier: ^1.8.19 specifier: ^1.8.19
version: 1.8.19(typescript@5.2.2) version: 1.8.19(typescript@5.2.2)
@ -310,13 +313,13 @@ packages:
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
dev: true dev: true
/@iconify/vue@4.1.1(vue@3.3.4): /@iconify/vue@4.1.1(vue@3.3.6):
resolution: {integrity: sha512-RL85Bm/DAe8y6rT6pux7D2FJSiUEM/TPfyK7GrbAOfTSwrhvwJW+S5yijdGcmtXouA8MtuH9C7l4hiSE4mLMjg==} resolution: {integrity: sha512-RL85Bm/DAe8y6rT6pux7D2FJSiUEM/TPfyK7GrbAOfTSwrhvwJW+S5yijdGcmtXouA8MtuH9C7l4hiSE4mLMjg==}
peerDependencies: peerDependencies:
vue: '>=3' vue: '>=3'
dependencies: dependencies:
'@iconify/types': 2.0.0 '@iconify/types': 2.0.0
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: true dev: true
/@intlify/core-base@9.5.0: /@intlify/core-base@9.5.0:
@ -343,46 +346,46 @@ packages:
/@jridgewell/sourcemap-codec@1.4.15: /@jridgewell/sourcemap-codec@1.4.15:
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
/@types/dompurify@3.0.3: /@types/dompurify@3.0.4:
resolution: {integrity: sha512-odiGr/9/qMqjcBOe5UhcNLOFHSYmKFOyr+bJ/Xu3Qp4k1pNPAlNLUVNNLcLfjQI7+W7ObX58EdD3H+3p3voOvA==} resolution: {integrity: sha512-1Jk8S/IRzNSbwQRbuGuLFHviwxQ8pX81ZEW3INY9432Cwb4VedkBYan8gSIXVLOLHBtimOmUTEYphjRVmo+30g==}
dependencies: dependencies:
'@types/trusted-types': 2.0.4 '@types/trusted-types': 2.0.5
dev: true dev: true
/@types/js-cookie@3.0.4: /@types/js-cookie@3.0.5:
resolution: {integrity: sha512-vMMnFF+H5KYqdd/myCzq6wLDlPpteJK+jGFgBus3Da7lw+YsDmx2C8feGTzY2M3Fo823yON+HC2CL240j4OV+w==} resolution: {integrity: sha512-dtLshqoiGRDHbHueIT9sjkd2F4tW1qPSX2xKAQK8p1e6pM+Z913GM1shv7dOqqasEMYbC5zEaClJomQe8OtQLA==}
dev: true dev: true
/@types/node@20.8.4: /@types/node@20.8.7:
resolution: {integrity: sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==} resolution: {integrity: sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==}
dependencies: dependencies:
undici-types: 5.25.3 undici-types: 5.25.3
dev: true dev: true
/@types/nprogress@0.2.1: /@types/nprogress@0.2.2:
resolution: {integrity: sha512-TYuyVnp+nOnimgdOydDIDYIxv2kSeuJZw4tF0p/KG7hpzcMF1WkHaREwM8O4blqfT1F7rq0nht6Ko2KVUfWzBA==} resolution: {integrity: sha512-2wLrSJXLztGmr7wXwM0hA/wuIOY9DznVdd+ZFofHOiXcj9JnVt+2ZeLRJ7v5ZVlmheSkUOSg3Q3O4Ce7yji79A==}
dev: true dev: true
/@types/quill@2.0.12: /@types/quill@2.0.13:
resolution: {integrity: sha512-LDstX/7OW6F/Q63ZUWUUSKUu6NRr0wzL7cO+wImB/yCS+Pwtl5ELH6ZUWislWKYJ37XHnlpUGmI74W+2gJ8G4A==} resolution: {integrity: sha512-poUCs3uxuJHMtJPrs5IjBK2LO5+msTntUXIdgMDmX0lcypwsX8ReLINUQQbpUdabdcsg75YyaNufRtgbwnJuHw==}
dependencies: dependencies:
parchment: 1.1.4 parchment: 1.1.4
quill-delta: 5.1.0 quill-delta: 5.1.0
dev: false dev: false
/@types/trusted-types@2.0.4: /@types/trusted-types@2.0.5:
resolution: {integrity: sha512-IDaobHimLQhjwsQ/NMwRVfa/yL7L/wriQPMhw1ZJall0KX6E1oxk29XMDeilW5qTIg5aoiqf5Udy8U/51aNoQQ==} resolution: {integrity: sha512-I3pkr8j/6tmQtKV/ZzHtuaqYSQvyjGRKH4go60Rr0IDLlFxuRT5V32uvB1mecM5G1EVAUyF/4r4QZ1GHgz+mxA==}
dev: true dev: true
/@vitejs/plugin-vue@4.4.0(vite@4.4.11)(vue@3.3.4): /@vitejs/plugin-vue@4.4.0(vite@4.5.0)(vue@3.3.6):
resolution: {integrity: sha512-xdguqb+VUwiRpSg+nsc2HtbAUSGak25DXYvpQQi4RVU1Xq1uworyoH/md9Rfd8zMmPR/pSghr309QNcftUVseg==} resolution: {integrity: sha512-xdguqb+VUwiRpSg+nsc2HtbAUSGak25DXYvpQQi4RVU1Xq1uworyoH/md9Rfd8zMmPR/pSghr309QNcftUVseg==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies: peerDependencies:
vite: ^4.0.0 vite: ^4.0.0
vue: ^3.2.25 vue: ^3.2.25
dependencies: dependencies:
vite: 4.4.11(@types/node@20.8.4)(sass@1.69.3) vite: 4.5.0(@types/node@20.8.7)(sass@1.69.4)
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: true dev: true
/@volar/language-core@1.10.4: /@volar/language-core@1.10.4:
@ -403,39 +406,39 @@ packages:
'@volar/language-core': 1.10.4 '@volar/language-core': 1.10.4
dev: true dev: true
/@vue/compiler-core@3.3.4: /@vue/compiler-core@3.3.6:
resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} resolution: {integrity: sha512-2JNjemwaNwf+MkkatATVZi7oAH1Hx0B04DdPH3ZoZ8vKC1xZVP7nl4HIsk8XYd3r+/52sqqoz9TWzYc3yE9dqA==}
dependencies: dependencies:
'@babel/parser': 7.23.0 '@babel/parser': 7.23.0
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
estree-walker: 2.0.2 estree-walker: 2.0.2
source-map-js: 1.0.2 source-map-js: 1.0.2
/@vue/compiler-dom@3.3.4: /@vue/compiler-dom@3.3.6:
resolution: {integrity: sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==} resolution: {integrity: sha512-1MxXcJYMHiTPexjLAJUkNs/Tw2eDf2tY3a0rL+LfuWyiKN2s6jvSwywH3PWD8bKICjfebX3GWx2Os8jkRDq3Ng==}
dependencies: dependencies:
'@vue/compiler-core': 3.3.4 '@vue/compiler-core': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
/@vue/compiler-sfc@3.3.4: /@vue/compiler-sfc@3.3.6:
resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} resolution: {integrity: sha512-/Kms6du2h1VrXFreuZmlvQej8B1zenBqIohP0690IUBkJjsFvJxY0crcvVRJ0UhMgSR9dewB+khdR1DfbpArJA==}
dependencies: dependencies:
'@babel/parser': 7.23.0 '@babel/parser': 7.23.0
'@vue/compiler-core': 3.3.4 '@vue/compiler-core': 3.3.6
'@vue/compiler-dom': 3.3.4 '@vue/compiler-dom': 3.3.6
'@vue/compiler-ssr': 3.3.4 '@vue/compiler-ssr': 3.3.6
'@vue/reactivity-transform': 3.3.4 '@vue/reactivity-transform': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
estree-walker: 2.0.2 estree-walker: 2.0.2
magic-string: 0.30.4 magic-string: 0.30.5
postcss: 8.4.31 postcss: 8.4.31
source-map-js: 1.0.2 source-map-js: 1.0.2
/@vue/compiler-ssr@3.3.4: /@vue/compiler-ssr@3.3.6:
resolution: {integrity: sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==} resolution: {integrity: sha512-QTIHAfDCHhjXlYGkUg5KH7YwYtdUM1vcFl/FxFDlD6d0nXAmnjizka3HITp8DGudzHndv2PjKVS44vqqy0vP4w==}
dependencies: dependencies:
'@vue/compiler-dom': 3.3.4 '@vue/compiler-dom': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
/@vue/devtools-api@6.5.1: /@vue/devtools-api@6.5.1:
resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==}
@ -451,53 +454,53 @@ packages:
dependencies: dependencies:
'@volar/language-core': 1.10.4 '@volar/language-core': 1.10.4
'@volar/source-map': 1.10.4 '@volar/source-map': 1.10.4
'@vue/compiler-dom': 3.3.4 '@vue/compiler-dom': 3.3.6
'@vue/reactivity': 3.3.4 '@vue/reactivity': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
minimatch: 9.0.3 minimatch: 9.0.3
muggle-string: 0.3.1 muggle-string: 0.3.1
typescript: 5.2.2 typescript: 5.2.2
vue-template-compiler: 2.7.14 vue-template-compiler: 2.7.14
dev: true dev: true
/@vue/reactivity-transform@3.3.4: /@vue/reactivity-transform@3.3.6:
resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} resolution: {integrity: sha512-RlJl4dHfeO7EuzU1iJOsrlqWyJfHTkJbvYz/IOJWqu8dlCNWtxWX377WI0VsbAgBizjwD+3ZjdnvSyyFW1YVng==}
dependencies: dependencies:
'@babel/parser': 7.23.0 '@babel/parser': 7.23.0
'@vue/compiler-core': 3.3.4 '@vue/compiler-core': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
estree-walker: 2.0.2 estree-walker: 2.0.2
magic-string: 0.30.4 magic-string: 0.30.5
/@vue/reactivity@3.3.4: /@vue/reactivity@3.3.6:
resolution: {integrity: sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==} resolution: {integrity: sha512-gtChAumfQz5lSy5jZXfyXbKrIYPf9XEOrIr6rxwVyeWVjFhJwmwPLtV6Yis+M9onzX++I5AVE9j+iPH60U+B8Q==}
dependencies: dependencies:
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
/@vue/runtime-core@3.3.4: /@vue/runtime-core@3.3.6:
resolution: {integrity: sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==} resolution: {integrity: sha512-qp7HTP1iw1UW2ZGJ8L3zpqlngrBKvLsDAcq5lA6JvEXHmpoEmjKju7ahM9W2p/h51h0OT5F2fGlP/gMhHOmbUA==}
dependencies: dependencies:
'@vue/reactivity': 3.3.4 '@vue/reactivity': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
/@vue/runtime-dom@3.3.4: /@vue/runtime-dom@3.3.6:
resolution: {integrity: sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==} resolution: {integrity: sha512-AoX3Cp8NqMXjLbIG9YR6n/pPLWE9TiDdk6wTJHFnl2GpHzDFH1HLBC9wlqqQ7RlnvN3bVLpzPGAAH00SAtOxHg==}
dependencies: dependencies:
'@vue/runtime-core': 3.3.4 '@vue/runtime-core': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
csstype: 3.1.2 csstype: 3.1.2
/@vue/server-renderer@3.3.4(vue@3.3.4): /@vue/server-renderer@3.3.6(vue@3.3.6):
resolution: {integrity: sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==} resolution: {integrity: sha512-kgLoN43W4ERdZ6dpyy+gnk2ZHtcOaIr5Uc/WUP5DRwutgvluzu2pudsZGoD2b7AEJHByUVMa9k6Sho5lLRCykw==}
peerDependencies: peerDependencies:
vue: 3.3.4 vue: 3.3.6
dependencies: dependencies:
'@vue/compiler-ssr': 3.3.4 '@vue/compiler-ssr': 3.3.6
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
/@vue/shared@3.3.4: /@vue/shared@3.3.6:
resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} resolution: {integrity: sha512-Xno5pEqg8SVhomD0kTSmfh30ZEmV/+jZtyh39q6QflrjdJCXah5lrnOLi9KB6a5k5aAHXMXjoMnxlzUkCNfWLQ==}
/@vue/typescript@1.8.19(typescript@5.2.2): /@vue/typescript@1.8.19(typescript@5.2.2):
resolution: {integrity: sha512-k/SHeeQROUgqsxyHQ8Cs3Zz5TnX57p7BcBDVYR2E0c61QL2DJ2G8CsaBremmNGuGE6o1R5D50IHIxFmroMz8iw==} resolution: {integrity: sha512-k/SHeeQROUgqsxyHQ8Cs3Zz5TnX57p7BcBDVYR2E0c61QL2DJ2G8CsaBremmNGuGE6o1R5D50IHIxFmroMz8iw==}
@ -508,14 +511,14 @@ packages:
- typescript - typescript
dev: true dev: true
/@vueup/vue-quill@1.2.0(vue@3.3.4): /@vueup/vue-quill@1.2.0(vue@3.3.6):
resolution: {integrity: sha512-kd5QPSHMDpycklojPXno2Kw2JSiKMYduKYQckTm1RJoVDA557MnyUXgcuuDpry4HY/Rny9nGNcK+m3AHk94wag==} resolution: {integrity: sha512-kd5QPSHMDpycklojPXno2Kw2JSiKMYduKYQckTm1RJoVDA557MnyUXgcuuDpry4HY/Rny9nGNcK+m3AHk94wag==}
peerDependencies: peerDependencies:
vue: ^3.2.41 vue: ^3.2.41
dependencies: dependencies:
quill: 1.3.7 quill: 1.3.7
quill-delta: 4.2.2 quill-delta: 4.2.2
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: false dev: false
/animate.css@4.1.1: /animate.css@4.1.1:
@ -564,11 +567,12 @@ packages:
fill-range: 7.0.1 fill-range: 7.0.1
dev: true dev: true
/call-bind@1.0.2: /call-bind@1.0.5:
resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==}
dependencies: dependencies:
function-bind: 1.1.1 function-bind: 1.1.2
get-intrinsic: 1.2.1 get-intrinsic: 1.2.2
set-function-length: 1.1.1
dev: false dev: false
/chokidar@3.5.3: /chokidar@3.5.3:
@ -638,13 +642,13 @@ packages:
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
dev: false dev: false
/define-data-property@1.1.0: /define-data-property@1.1.1:
resolution: {integrity: sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==} resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
get-intrinsic: 1.2.1 get-intrinsic: 1.2.2
gopd: 1.0.1 gopd: 1.0.1
has-property-descriptors: 1.0.0 has-property-descriptors: 1.0.1
dev: false dev: false
/define-lazy-prop@2.0.0: /define-lazy-prop@2.0.0:
@ -656,8 +660,8 @@ packages:
resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
define-data-property: 1.1.0 define-data-property: 1.1.1
has-property-descriptors: 1.0.0 has-property-descriptors: 1.0.1
object-keys: 1.1.1 object-keys: 1.1.1
dev: false dev: false
@ -742,8 +746,8 @@ packages:
dev: true dev: true
optional: true optional: true
/function-bind@1.1.1: /function-bind@1.1.2:
resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
dev: false dev: false
/functions-have-names@1.2.3: /functions-have-names@1.2.3:
@ -755,13 +759,13 @@ packages:
engines: {node: 6.* || 8.* || >= 10.*} engines: {node: 6.* || 8.* || >= 10.*}
dev: true dev: true
/get-intrinsic@1.2.1: /get-intrinsic@1.2.2:
resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==}
dependencies: dependencies:
function-bind: 1.1.1 function-bind: 1.1.2
has: 1.0.4
has-proto: 1.0.1 has-proto: 1.0.1
has-symbols: 1.0.3 has-symbols: 1.0.3
hasown: 2.0.0
dev: false dev: false
/glob-parent@5.1.2: /glob-parent@5.1.2:
@ -774,13 +778,13 @@ packages:
/gopd@1.0.1: /gopd@1.0.1:
resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
dependencies: dependencies:
get-intrinsic: 1.2.1 get-intrinsic: 1.2.2
dev: false dev: false
/has-property-descriptors@1.0.0: /has-property-descriptors@1.0.1:
resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==}
dependencies: dependencies:
get-intrinsic: 1.2.1 get-intrinsic: 1.2.2
dev: false dev: false
/has-proto@1.0.1: /has-proto@1.0.1:
@ -800,9 +804,11 @@ packages:
has-symbols: 1.0.3 has-symbols: 1.0.3
dev: false dev: false
/has@1.0.4: /hasown@2.0.0:
resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==}
engines: {node: '>= 0.4.0'} engines: {node: '>= 0.4'}
dependencies:
function-bind: 1.1.2
dev: false dev: false
/he@1.2.0: /he@1.2.0:
@ -822,7 +828,7 @@ packages:
resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
call-bind: 1.0.2 call-bind: 1.0.5
has-tostringtag: 1.0.0 has-tostringtag: 1.0.0
dev: false dev: false
@ -872,7 +878,7 @@ packages:
resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
call-bind: 1.0.2 call-bind: 1.0.5
has-tostringtag: 1.0.0 has-tostringtag: 1.0.0
dev: false dev: false
@ -910,8 +916,8 @@ packages:
yallist: 4.0.0 yallist: 4.0.0
dev: true dev: true
/magic-string@0.30.4: /magic-string@0.30.5:
resolution: {integrity: sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg==} resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==}
engines: {node: '>=12'} engines: {node: '>=12'}
dependencies: dependencies:
'@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/sourcemap-codec': 1.4.15
@ -950,7 +956,7 @@ packages:
resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
call-bind: 1.0.2 call-bind: 1.0.5
define-properties: 1.2.1 define-properties: 1.2.1
dev: false dev: false
@ -980,16 +986,16 @@ packages:
engines: {node: '>=8.6'} engines: {node: '>=8.6'}
dev: true dev: true
/pinia-plugin-persistedstate@3.2.0(pinia@2.1.6): /pinia-plugin-persistedstate@3.2.0(pinia@2.1.7):
resolution: {integrity: sha512-tZbNGf2vjAQcIm7alK40sE51Qu/m9oWr+rEgNm/2AWr1huFxj72CjvpQcIQzMknDBJEkQznCLAGtJTIcLKrKdw==} resolution: {integrity: sha512-tZbNGf2vjAQcIm7alK40sE51Qu/m9oWr+rEgNm/2AWr1huFxj72CjvpQcIQzMknDBJEkQznCLAGtJTIcLKrKdw==}
peerDependencies: peerDependencies:
pinia: ^2.0.0 pinia: ^2.0.0
dependencies: dependencies:
pinia: 2.1.6(typescript@5.2.2)(vue@3.3.4) pinia: 2.1.7(typescript@5.2.2)(vue@3.3.6)
dev: false dev: false
/pinia@2.1.6(typescript@5.2.2)(vue@3.3.4): /pinia@2.1.7(typescript@5.2.2)(vue@3.3.6):
resolution: {integrity: sha512-bIU6QuE5qZviMmct5XwCesXelb5VavdOWKWaB17ggk++NUwQWWbP5YnsONTk3b752QkW9sACiR81rorpeOMSvQ==} resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==}
peerDependencies: peerDependencies:
'@vue/composition-api': ^1.4.0 '@vue/composition-api': ^1.4.0
typescript: '>=4.4.4' typescript: '>=4.4.4'
@ -1002,8 +1008,8 @@ packages:
dependencies: dependencies:
'@vue/devtools-api': 6.5.1 '@vue/devtools-api': 6.5.1
typescript: 5.2.2 typescript: 5.2.2
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
vue-demi: 0.14.6(vue@3.3.4) vue-demi: 0.14.6(vue@3.3.6)
dev: false dev: false
/postcss@8.4.31: /postcss@8.4.31:
@ -1058,7 +1064,7 @@ packages:
/quill-magic-url@4.2.0: /quill-magic-url@4.2.0:
resolution: {integrity: sha512-u1tHwsQjrTczhECNtXK5EUkWwAMb8raLpsU3llqiLu344kPlA9ldoenHvY3XW+yI+2IZ9WgKgRmcy+cKGN3gnQ==} resolution: {integrity: sha512-u1tHwsQjrTczhECNtXK5EUkWwAMb8raLpsU3llqiLu344kPlA9ldoenHvY3XW+yI+2IZ9WgKgRmcy+cKGN3gnQ==}
dependencies: dependencies:
'@types/quill': 2.0.12 '@types/quill': 2.0.13
normalize-url: 4.5.1 normalize-url: 4.5.1
quill-delta: 3.6.3 quill-delta: 3.6.3
dev: false dev: false
@ -1085,7 +1091,7 @@ packages:
resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
call-bind: 1.0.2 call-bind: 1.0.5
define-properties: 1.2.1 define-properties: 1.2.1
set-function-name: 2.0.1 set-function-name: 2.0.1
dev: false dev: false
@ -1119,8 +1125,8 @@ packages:
fsevents: 2.3.3 fsevents: 2.3.3
dev: true dev: true
/sass@1.69.3: /sass@1.69.4:
resolution: {integrity: sha512-X99+a2iGdXkdWn1akFPs0ZmelUzyAQfvqYc2P/MPTrJRuIRoTffGzT9W9nFqG00S+c8hXzVmgxhUuHFdrwxkhQ==} resolution: {integrity: sha512-+qEreVhqAy8o++aQfCJwp0sklr2xyEzkm9Pp/Igu9wNPoe7EZEQ8X/MBvvXggI2ql607cxKg/RKOwDj6pp2XDA==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
hasBin: true hasBin: true
dependencies: dependencies:
@ -1137,13 +1143,23 @@ packages:
lru-cache: 6.0.0 lru-cache: 6.0.0
dev: true dev: true
/set-function-length@1.1.1:
resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==}
engines: {node: '>= 0.4'}
dependencies:
define-data-property: 1.1.1
get-intrinsic: 1.2.2
gopd: 1.0.1
has-property-descriptors: 1.0.1
dev: false
/set-function-name@2.0.1: /set-function-name@2.0.1:
resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dependencies: dependencies:
define-data-property: 1.1.0 define-data-property: 1.1.1
functions-have-names: 1.2.3 functions-have-names: 1.2.3
has-property-descriptors: 1.0.0 has-property-descriptors: 1.0.1
dev: false dev: false
/source-map-js@1.0.2: /source-map-js@1.0.2:
@ -1191,8 +1207,8 @@ packages:
resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==}
dev: true dev: true
/vite@4.4.11(@types/node@20.8.4)(sass@1.69.3): /vite@4.5.0(@types/node@20.8.7)(sass@1.69.4):
resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -1219,16 +1235,16 @@ packages:
terser: terser:
optional: true optional: true
dependencies: dependencies:
'@types/node': 20.8.4 '@types/node': 20.8.7
esbuild: 0.18.20 esbuild: 0.18.20
postcss: 8.4.31 postcss: 8.4.31
rollup: 3.29.4 rollup: 3.29.4
sass: 1.69.3 sass: 1.69.4
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
dev: true dev: true
/vue-demi@0.14.6(vue@3.3.4): /vue-demi@0.14.6(vue@3.3.6):
resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==}
engines: {node: '>=12'} engines: {node: '>=12'}
hasBin: true hasBin: true
@ -1240,10 +1256,10 @@ packages:
'@vue/composition-api': '@vue/composition-api':
optional: true optional: true
dependencies: dependencies:
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: false dev: false
/vue-i18n@9.5.0(vue@3.3.4): /vue-i18n@9.5.0(vue@3.3.6):
resolution: {integrity: sha512-NiI3Ph1qMstNf7uhYh8trQBOBFLxeJgcOxBq51pCcZ28Vs18Y7BDS58r8HGDKCYgXdLUYqPDXdKatIF4bvBVZg==} resolution: {integrity: sha512-NiI3Ph1qMstNf7uhYh8trQBOBFLxeJgcOxBq51pCcZ28Vs18Y7BDS58r8HGDKCYgXdLUYqPDXdKatIF4bvBVZg==}
engines: {node: '>= 16'} engines: {node: '>= 16'}
peerDependencies: peerDependencies:
@ -1252,16 +1268,16 @@ packages:
'@intlify/core-base': 9.5.0 '@intlify/core-base': 9.5.0
'@intlify/shared': 9.5.0 '@intlify/shared': 9.5.0
'@vue/devtools-api': 6.5.1 '@vue/devtools-api': 6.5.1
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: false dev: false
/vue-router@4.2.5(vue@3.3.4): /vue-router@4.2.5(vue@3.3.6):
resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==} resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==}
peerDependencies: peerDependencies:
vue: ^3.2.0 vue: ^3.2.0
dependencies: dependencies:
'@vue/devtools-api': 6.5.1 '@vue/devtools-api': 6.5.1
vue: 3.3.4 vue: 3.3.6(typescript@5.2.2)
dev: false dev: false
/vue-template-compiler@2.7.14: /vue-template-compiler@2.7.14:
@ -1283,14 +1299,20 @@ packages:
typescript: 5.2.2 typescript: 5.2.2
dev: true dev: true
/vue@3.3.4: /vue@3.3.6(typescript@5.2.2):
resolution: {integrity: sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==} resolution: {integrity: sha512-jJIDETeWJnoY+gfn4ZtMPMS5KtbP4ax+CT4dcQFhTnWEk8xMupFyQ0JxL28nvT/M4+p4a0ptxaV2WY0LiIxvRg==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies: dependencies:
'@vue/compiler-dom': 3.3.4 '@vue/compiler-dom': 3.3.6
'@vue/compiler-sfc': 3.3.4 '@vue/compiler-sfc': 3.3.6
'@vue/runtime-dom': 3.3.4 '@vue/runtime-dom': 3.3.6
'@vue/server-renderer': 3.3.4(vue@3.3.4) '@vue/server-renderer': 3.3.6(vue@3.3.6)
'@vue/shared': 3.3.4 '@vue/shared': 3.3.6
typescript: 5.2.2
/wrap-ansi@7.0.0: /wrap-ansi@7.0.0:
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}

15
src/entry-client.ts Normal file
View file

@ -0,0 +1,15 @@
import { createApp } from './main'
import router from './router'
import i18n from '@/language/i18n'
import { setupRouterGuard } from '@/router/guard'
import { setupPinia } from '@/store/index'
import '@/styles/index.scss'
const { app } = createApp()
// 使用路由守卫
setupRouterGuard(router)
// 使用 pinia
setupPinia(app)
app.use(router).use(i18n).mount('#app')

View file

@ -1,24 +1,7 @@
// core import { createSSRApp } from 'vue'
import { createApp } from 'vue'
// APP
import App from './App.vue' import App from './App.vue'
/* 引入 vue-router */
import router from './router'
// 引入 i18n
import i18n from '@/language/i18n'
// 引入路由守卫
import { setupRouterGuard } from '@/router/guard'
// 引入 pinia
import { setupPinia } from '@/store/index'
// 引入样式
import '@/styles/index.scss'
// 获取 App 实例 export const createApp = () => {
const app = createApp(App) const app = createSSRApp(App)
return { app }
// 使用路由守卫 }
setupRouterGuard(router)
// 使用 pinia
setupPinia(app)
app.use(router).use(i18n).mount('#app')

View file

@ -13,6 +13,9 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'), '@': path.resolve(__dirname, './src'),
}, },
}, },
esbuild: {
drop: ['console', 'debugger'],
},
server: { host: '127.0.0.1', port: 1007 }, server: { host: '127.0.0.1', port: 1007 },
// 消除 i18n 警告 // 消除 i18n 警告
define: { define: {