Skip to content

Commit

Permalink
Add tip type: module to vue page (#657)
Browse files Browse the repository at this point in the history
* Add tip `type: module` to vue page

Add info regarding this bug: #567

* Create eleven-buttons-dream.md

---------

Co-authored-by: Jack Steam <jacksteamdev@gmail.com>
  • Loading branch information
mubaidr and jacksteamdev authored Mar 1, 2023
1 parent 68ef208 commit 3dea230
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/eleven-buttons-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"vite-plugin-docs": patch
"@crxjs/vite-plugin": patch
---

Add tip `type: module` to vue page
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ extension Vue HTML page. The first two sections take about 90 seconds!

<CreateProjectTabs />

:::tip package.json

Check `package.json` to ensure that `"type": "module"` is set. If this package
key is missing, Vite might not be able to build `vite.config.ts`.

:::

## Update the Vite config

Update `vite.config.js` to match the code below.
Expand Down

1 comment on commit 3dea230

@vercel
Copy link

@vercel vercel bot commented on 3dea230 Mar 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.