talks/taking-flight-with-tailwind-css/code/writing-plugin-1.js

25 lines
488 B
JavaScript

// Start require plugin
const plugin = require("tailwindcss/plugin");
// End require plugin
// Start add function
const plugin = require("tailwindcss/plugin");
module.exports = plugin(function({ addUtilities }) {
})
// End add function
// Start function contents
const plugin = require("tailwindcss/plugin");
module.exports = plugin(function({ addUtilities }) {
addUtilities({
'.list-reset': {
listStyle: 'none',
padding: 0,
},
})
})
// End function contents