-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I'm attempting to use tailwindcss-card in a vue project. I followed the installations instructions but get this error on 'npm run dev':
Module build failed: TypeError: addComponents is not a function at /Users/birchbrowning/Development/tailwindtest/node_modules/tailwindcss-card/index.js:18:5
Here's my postcssrs.js:
`var tailwindcss = require("tailwindcss")
module.exports = {
plugins: [
// to edit target browsers: use "browserslist" field in package.json
tailwindcss("tailwind.js"),
require("tailwindcss-card")(),
require("autoprefixer")
]
}`
I considered that the posscssrc.js file was not being imported correcly somewhere, but if I comment out the tailwindcss-card line, the app builds correctly, but the stacked card is not styled correctly, of course.
I'd love to make this work, as this seems like the right way to add components to tailwind. Any suggetions? Do you need any additional information? I used this template to start: https://github.com/cesaramirez/popular-layouts.