Skip to content

Commit

Permalink
chore: Disable Tailwind Preflight
Browse files Browse the repository at this point in the history
  • Loading branch information
shindigira committed Jul 27, 2023
1 parent f26132e commit bbb2357
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function HomePage(): ReactElement {
<a key='sidenav_1' href='/' className='usa-current'>
Dashboard
</a>,
<a key='sidenav_2' href='/'>
<a key='sidenav_2' href='/' className='bg-red-100'>
Some other page
</a>
];
Expand Down
5 changes: 4 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const config = {
}
},
experimental: { optimizeUniversalDefaults: true },
plugins: [formsPlugin]
plugins: [formsPlugin],
corePlugins: {
preflight: false,
}
};
module.exports = config;

0 comments on commit bbb2357

Please sign in to comment.