Add tailwindcss

pull/1/head
sct 4 years ago
parent a1eb9c0048
commit 2519ac86f7

2
next-env.d.ts vendored

@ -0,0 +1,2 @@
/// <reference types="next" />
/// <reference types="next/types/global" />

@ -10,6 +10,14 @@
"dependencies": { "dependencies": {
"next": "9.5.2", "next": "9.5.2",
"react": "16.13.1", "react": "16.13.1",
"react-dom": "16.13.1" "react-dom": "16.13.1",
"typeorm": "^0.2.25"
},
"devDependencies": {
"@types/node": "^14.0.27",
"@types/react": "^16.9.46",
"postcss-preset-env": "^6.7.0",
"tailwindcss": "^1.6.2",
"typescript": "^3.9.7"
} }
} }

@ -0,0 +1,3 @@
module.exports = {
plugins: ["tailwindcss", "postcss-preset-env"],
};

@ -0,0 +1,18 @@
module.exports = {
rules: {
"at-rule-no-unknown": [
true,
{
ignoreAtRules: [
"tailwind",
"apply",
"variants",
"responsive",
"screen",
],
},
],
"declaration-block-trailing-semicolon": null,
"no-descending-specificity": null,
},
};

@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
html, html,
body { body {
padding: 0; padding: 0;

@ -0,0 +1,8 @@
module.exports = {
purge: [],
theme: {
extend: {},
},
variants: {},
plugins: [],
}

@ -0,0 +1,29 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save