Skip to content

Commit

Permalink
Update vite-plugin-docs getting-started with crxjs install step
Browse files Browse the repository at this point in the history
  • Loading branch information
swkidd committed Dec 20, 2024
1 parent 867ce48 commit 7aefb79
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
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
```

## 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
```

## 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
```

## Update the Vite config

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

0 comments on commit 7aefb79

Please sign in to comment.