读取本地pdf

This commit is contained in:
xianyi
2025-11-21 16:28:56 +08:00
parent b954b927db
commit 4fea3ee9ab
4 changed files with 49 additions and 18 deletions

View File

@@ -8,4 +8,5 @@ export default defineConfig({
server: {
port: 5173,
},
assetsInclude: ["**/*.pdf"], // 确保 PDF 文件被当作静态资源处理
});