-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (40 loc) · 1.07 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
** TailwindCSS Configuration File
**
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
** Nuxt default: https://tailwindcss.nuxtjs.org/tailwind-config
*/
module.exports = {
theme: {
screens: {
// default tailwind sizes:
'sm': { 'min': '1px' },
'md': { 'min': '768px' },
'lg': { 'min': '1024px' },
'xl': { 'min': '1280px' },
// below sizes:
'-md': { 'max': '767px' },
'-lg': { 'max': '1023px' },
'-xl': { 'max': '1279px' },
}
},
variants: {},
plugins: [],
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js',
],
},
// See https://tailwindcss.com/docs/upcoming-changes
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
}