读取本地pdf
This commit is contained in:
@@ -8,4 +8,5 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 5173,
|
||||
},
|
||||
assetsInclude: ["**/*.pdf"], // 确保 PDF 文件被当作静态资源处理
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user