Upgrade tailwindcss to v3

This commit is contained in:
kjmczk
2022-01-07 13:40:31 +09:00
parent afd56b2989
commit 54fdf6831c
3 changed files with 96 additions and 591 deletions

672
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -21,12 +21,12 @@
"@types/node": "16.11.10",
"@types/react": "17.0.37",
"@types/react-blockies": "^1.4.1",
"autoprefixer": "^10.4.0",
"autoprefixer": "^10.4.1",
"eslint": "7.32.0",
"eslint-config-next": "12.0.4",
"eslint-config-prettier": "^8.3.0",
"postcss": "^8.4.3",
"tailwindcss": "^2.2.19",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.11",
"typescript": "4.5.2"
}
}

View File

@@ -1,11 +1,10 @@
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
};