Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example #1

Open
gw0 opened this issue Jun 26, 2017 · 2 comments
Open

Add an example #1

gw0 opened this issue Jun 26, 2017 · 2 comments

Comments

@gw0
Copy link

gw0 commented Jun 26, 2017

This plugin is a great idea, but I was not able to get it working (uncss from console works). It would be helpful if you could provide a usage example.

@vseventer
Copy link
Owner

Hi @gw0, did you use the plugin as defined in the Usage section of the readme? Adding this module as plugin is really all you should need for basic uncss-ing.

@gw0
Copy link
Author

gw0 commented Nov 3, 2017

I tried to use it with a Vue.js application based on https://github.com/vuejs-templates/webpack, that already contains a complex Webpack processing pipeline. An example would be good, because it is not obvious what your plugin expects in each field.

I ended up using PurifyCSSPlugin that I just inserted into build/webpack.prod.conf.js. Maybe your plugin will work out of the box when Vue.js templates switch to webpack-dev-server (vuejs-templates/webpack#964).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants