0.0.2 • Published 4 years ago

varie-bundler-tailwindcss-plugin v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

tailwincss-builder-plugin

Getting Started

Insert the plugin into your webpack.json.ts file :

import { WebBundler } from "varie-bundler";
import TailwindCssPlugin from "varie-bundler-tailwindcss-plugin";

export default function(env) {
  return new WebBundler(env, {
    vue: {
      runtimeOnly: false
    }
  })
    .entry("app", ["app/app.ts", "resources/sass/app.scss"])
    .plugin(TailwindCssPlugin)
    .build();
}

Refer to the tailwindcss docunmtation to setup adding tailwind to your css.