Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vite-plugin-docs getting-started with crxjs install step #960

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions .changeset/silent-cobras-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vite-plugin-docs": patch
---

Update vite-plugin-docs getting-started with crxjs install step
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ extension React HTML page. The first two sections take about 90 seconds!

<CreateProjectTabs projectType="react"/>

## Install CRXJS

```sh
npm install --save-dev @crxjs/vite-plugin
swkidd marked this conversation as resolved.
Show resolved Hide resolved
```

## Update the Vite config

Update `vite.config.js` to match the code below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ reload.

<CreateProjectTabs projectType="vanilla JS"/>

## Install CRXJS

```sh
npm install --save-dev @crxjs/vite-plugin
swkidd marked this conversation as resolved.
Show resolved Hide resolved
```

## Create a Vite config file

Create `vite.config.js` with the code below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ key is missing, Vite might not be able to build `vite.config.ts`.

:::

## Install CRXJS

```sh
npm install --save-dev @crxjs/vite-plugin
swkidd marked this conversation as resolved.
Show resolved Hide resolved
```

## Update the Vite config

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