Skip to content

Commit

Permalink
Update vue-3.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zhanxiaox authored Aug 27, 2024
1 parent 71b7a31 commit 2968f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/framework-integration/vue-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<div>` element with the `#app` id attribute.
Replace the contents of `index.html` with a `<div>` element with the `#app` id attribute.

```html
<!DOCTYPE html>
Expand Down

0 comments on commit 2968f49

Please sign in to comment.