Skip to content

Commit

Permalink
Merge branch 'master' into integrations-astro
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 authored Jan 25, 2024
2 parents db2a187 + 49d60bd commit ff0c1f4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
9 changes: 5 additions & 4 deletions site/contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ const contents = [
group: 'integrations',
label: 'Integrations',
pages: [
'vite',
'esbuild',
'webpack',
'astro',
'esbuild',
'gatsby',
'next',
'parcel',
'remix',
'rollup',
'gatsby',
'vite',
'webpack',
],
},
];
Expand Down
24 changes: 24 additions & 0 deletions site/docs/integrations/remix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Remix
parent: integrations
---

# Remix

[Remix](https://remix.run) provides support for Vanilla Extract out of the box. See [Vanilla Extract | Remix](https://remix.run/docs/en/main/styling/vanilla-extract) for details.

Remix's (unstable) Vite compiler works with the [Vite integration]. It's as simple as adding the `@vanilla-extract/vite-plugin` to your Vite config:

```js
import { unstable_vitePlugin as remix } from '@remix-run/dev';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { defineConfig } from 'vite';

export default defineConfig({
plugins: [remix(), vanillaExtractPlugin()]
});
```

See [Vite (Unstable) | Remix](https://remix.run/docs/en/main/future/vite#add-vanilla-extract-plugin) for more details.

[vite integration]: /documentation/integrations/vite

0 comments on commit ff0c1f4

Please sign in to comment.