Skip to content

Commit

Permalink
docs: update Remix config to use ESM (#1710)
Browse files Browse the repository at this point in the history
* docs(remix): replace postcss config sample to use export default

* docs(remix): replace tailwind config sample to use export default

---------

Co-authored-by: shadcn <[email protected]>
  • Loading branch information
wobsoriano and shadcn authored Oct 16, 2023
1 parent 0176754 commit 4083876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/content/docs/installation/remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm add -D tailwindcss@latest autoprefixer@latest
Then we create a `postcss.config.js` file:

```js
module.exports = {
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
Expand All @@ -71,7 +71,7 @@ And finally we add the following to our `remix.config.js` file:

```js {4-5}
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
export default {
...
tailwind: true,
postcss: true,
Expand Down

1 comment on commit 4083876

@vercel
Copy link

@vercel vercel bot commented on 4083876 Oct 16, 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:

ui – ./apps/www

ui-shadcn-pro.vercel.app
example-playground.vercel.app
ui-git-main-shadcn-pro.vercel.app
ui.shadcn.com

Please sign in to comment.