This project is no longer maintained.
Life got busy — work, kids, and the usual chaos. I no longer have the time or energy to keep up with issues or updates. Use it if it works for you, but don't expect updates or support.

Tailwind

Preview.js automatically loads your PostCSS config, so Tailwind should just work.

If Tailwind isn't detected automatically, make sure that you have a postcss.config.js file (or equivalent), such as:

module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
};

If Tailwind still isn't detected by Preview.js, you may need to set up a wrapper that imports your global CSS.