Skip to content

Commit

Permalink
chore: support Tailwind CSS v4.0 (#1230)
Browse files Browse the repository at this point in the history
* chore(deps): update Tailwind CSS integration and remove deprecated files

- Added @tailwindcss/vite as a dependency in package.json.
- Updated tailwindcss version to 4.0.0.
- Removed postcss.config.cjs and tailwind.config.cjs as they are no longer needed.
- Updated vite.config.mjs to integrate Tailwind CSS using the new plugin.
- Modified global CSS to import Tailwind CSS instead of using the @tailwind directives.

Signed-off-by: donniean <[email protected]>

* chore(styles): update Tailwind CSS import notation for stylelint compatibility

Signed-off-by: donniean <[email protected]>

* chore(eslint): update ESLint configuration

Signed-off-by: donniean <[email protected]>

---------

Signed-off-by: donniean <[email protected]>
  • Loading branch information
donniean authored Jan 23, 2025
1 parent 2f94188 commit f3cc958
Show file tree
Hide file tree
Showing 7 changed files with 617 additions and 618 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,13 @@ module.exports = {
},
{
files: ['./src/**/*.{ts,tsx}'],
extends: ['airbnb/hooks', 'plugin:react/jsx-runtime', 'prettier'],
extends: [
'airbnb/hooks',
'plugin:react/jsx-runtime',
// 'plugin:@next/next/recommended',
// 'plugin:@next/next/core-web-vitals',
'prettier',
],
rules: {
'no-console':
process.env.NODE_ENV === 'development'
Expand Down
Loading

0 comments on commit f3cc958

Please sign in to comment.