acidjazz / tv-toast

Programmatic toasts for Nuxt.js powered by Tailwind CSS
MIT License
116 stars 11 forks source link

Update purge options #7

Closed borisdayma closed 4 years ago

borisdayma commented 4 years ago

As an alternative, it could be written with the object syntax:

module.exports = {
  purge: {
    content: ['./src/**/*.html'],
  },
  // ...
}

What is important is to have purge section for it to work in prod mode (dev does not use purge by default).

acidjazz commented 4 years ago

got it thanks! I'll add it from a commit