From c7e6cd6db87d0bae0b2cd14f17c86b3ad6a67b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Wed, 2 Sep 2020 09:30:10 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f46584b..cd358bb 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Electron、vue、vite 整合 ## 踩坑记 - import { write } from 'fs' 的这种形式会被 vite 编译成 /@modules/fs?import -const { write } = require('fs') 这种形式就能用了 😉 +- const { write } = require('fs') 这种形式就能用了 😉 - const { ipcRenderer } = require('electron') 同理 ---