Skip to content

Commit

Permalink
chore: Add Remix To Vite section of docs (#838)
Browse files Browse the repository at this point in the history
I added Remix to the Vite compiler section of the docs
  • Loading branch information
tobySolutions authored Nov 18, 2023
1 parent 5d0a6ef commit 579a625
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions website/pages/docs/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,20 @@ Then, add the compiler to your build tool of choice:
export default defineConfig({
plugins: [million.vite({ auto: true }), react()],
});



// With Remix:

import { unstable_vitePlugin as remix } from "@remix-run/dev";
import million from 'million/compiler';
import { defineConfig } from "vite";


export default defineConfig({
plugins: [million.vite(), remix()],
);
```
</Tab>
<Tab>
Expand Down

2 comments on commit 579a625

@vercel
Copy link

@vercel vercel bot commented on 579a625 Nov 18, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

million-kitchen-sink – ./packages/kitchen-sink

million-kitchen-sink-millionjs.vercel.app
million-kitchen-sink.vercel.app
million-kitchen-sink-git-main-millionjs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 579a625 Nov 18, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

sink – ./packages/kitchen-sink

million-kitchen-sink-atit.vercel.app
sink.million.dev
sink-git-main-millionjs.vercel.app
sink-millionjs.vercel.app

Please sign in to comment.