From fbd35bb56fe574aec4e249cda6681b1654df4dd9 Mon Sep 17 00:00:00 2001 From: "knight.chen" Date: Mon, 18 Dec 2023 19:32:26 +0800 Subject: [PATCH] docs: update readme --- .vscode/settings.json | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index daff5a0..234375a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,8 +2,8 @@ "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.fixAll.stylelint": true + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit" }, "css.validate": false, "less.validate": false, diff --git a/README.md b/README.md index 55e0e72..84d1898 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ const editorInit = (ctx: ILowCodePluginContext) => { async init() { const { material, project } = ctx; const assets = await fetch('http://127.0.0.1:9000/assets.json').then((res) => - res.json() + res.json(), ); material.setAssets(assets); }, @@ -157,7 +157,7 @@ init(document.getElementById('lce'), { ```bash git clone git@github.com:KNXCloud/lowcode-engine-vue.git cd lowcode-engine-vue -pnpm install +pnpm install && pnpm -r build pnpm start ```