# 编辑器 **Repository Path**: zijid/editor ## Basic Information - **Project Name**: 编辑器 - **Description**: 编辑器编辑器编辑器编辑器 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-15 - **Last Updated**: 2022-10-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # npm npm i vue-router npm i axios npm i pinia npm i ant-design-vue --save npm i  pinia-plugin-persistedstate npm i --save @ant-design/icons-vue # 描述 初始化 # 文件操作 let fileHandle; [fileHandle] = await window.showOpenFilePicker(); const file = await fileHandle.getFile(); console.log(file) const writable = await fileHandle.createWritable(); await writable.write("This is a new line"); await writable.close(); https://developer.mozilla.org/en-US/docs/Web/API/window/showDirectoryPicker