-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
20 lines (16 loc) · 757 Bytes
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** @type {import('tailwindcss').Config} */
// The above line specifies the type of the configuration object as per the Tailwind CSS typings.
// eslint-disable-next-line no-undef
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts}'],
// Specify the files to search for Tailwind CSS classes in order to optimize the build size.
corePlugins: {
// Enable the preflight plugin to reset default browser styles.
preflight: true
},
// Enable the "class" strategy for dark mode, allowing the addition of the "dark" class to elements
darkMode: 'class',
// Ensure that classes used in Vuetify components take precedence by assigning the "important" class
// to the root element with the ID of "app".
important: '#app'
}