Skip to content

Instantly share code, notes, and snippets.

@nyancodeid
Created May 25, 2020 18:36
Show Gist options
  • Save nyancodeid/19e2402d3f006a3d68f816ca5f59d977 to your computer and use it in GitHub Desktop.
Save nyancodeid/19e2402d3f006a3d68f816ca5f59d977 to your computer and use it in GitHub Desktop.
TailwindCSS Config Example
module.exports = {
purge: [
'./resources/js/**/*.vue'
],
corePlugins: {
float: false,
fill: false,
objectFit: false,
objectPosition: false,
grid: false,
gridColumn: false,
gridColumnStart: false,
gridColumnStartEnd: false,
gridTemplateColumns: false,
gap: false,
gridAutoFlow: false,
minWidth: false,
maxWidth: false,
minHeight: false,
maxHeight: false,
backgroundAttachment: false,
tableLayout: false,
borderCollapse: false,
transitionProperty: false,
transitionDuration: false,
transitionTimingFunction: false,
transitionDelay: false,
scale: false,
translate: false,
accessibility: false
},
variants: {
appearance: [],
backgroundColor: [],
borderColor: [],
zIndex: [],
width: [],
height: [],
fontStyle: [],
borderRadius: [],
cursor: [],
outline: ['focus']
},
plugins: [],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment