From 2968f4995f751fd3aff56bdb5ceb918e775eed12 Mon Sep 17 00:00:00 2001 From: zx <346084070@qq.com> Date: Tue, 27 Aug 2024 19:01:08 +0800 Subject: [PATCH] Update vue-3.md When creating a project with template = vite, index.html and vite.render.config.mjs are at the same level, and the document identifies index.html as src/index.html, which misled me for a long time to find the problem. --- guides/framework-integration/vue-3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/framework-integration/vue-3.md b/guides/framework-integration/vue-3.md index 027c95b..631aa53 100644 --- a/guides/framework-integration/vue-3.md +++ b/guides/framework-integration/vue-3.md @@ -34,9 +34,9 @@ npm install --save-dev @vitejs/plugin-vue You should now be able to start using Vue components in your Electron app. The following is a very minimal example of how to start to add Vue 3 code: {% tabs %} -{% tab title="src/index.html" %} +{% tab title="index.html" %} -Replace the contents of `src/index.html` with a `
` element with the `#app` id attribute. +Replace the contents of `index.html` with a `
` element with the `#app` id attribute. ```html