SamGoody / tailwind-children

Tailwind plugin which enables setting CSS rules for all children in parent
GNU Affero General Public License v3.0
74 stars 6 forks source link

Fix package name in plugin registration #3

Closed ericpedia closed 2 years ago

ericpedia commented 2 years ago

After copying plugin registration from the Readme, I was getting an error because the package name in the example (tailwindcss-children) doesn't didn't match the actual package name, tailwind-children.

Including this, in case it helps anyone googling the error:

Error: Cannot find module 'tailwindcss-children'
[...]
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/path/to/tailwind.config.js',
    '/path/to/node_modules/tailwindcss/lib/cli.js'
  ]