Cannot add purgecss with vue-cli
See original GitHub issueBefore you open an issue, please check if a similar issue already exists or has been closed before.
When reporting a bug, please try to include the following:
- A descriptive title
- An isolated way to reproduce the behavior (example: GitHub repository with code isolated to the issue that anyone can clone to observe the problem)
- What package and version you’re using, and the platform(s) you’re running it on
- The behavior you expect to see, and the actual behavior
When you open an issue for a feature request, please add as much detail as possible:
- A descriptive title
- A description of the problem you’re trying to solve, including why you think this is a problem
- An overview of the suggested solution
- If the feature changes current behavior, reasons why your solution is better
Cannot add purgecss with vue-cli. I get the following error on vue add purgecss
:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.com/vue-cli-plugin-purgecss - Not found
npm ERR! 404
npm ERR! 404 'vue-cli-plugin-purgecss@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\papil\AppData\Roaming\npm-cache\_logs\2020-03-30T15_10_50_910Z-debug.log
ERROR command failed: npm install --loglevel error vue-cli-plugin-purgecss -D --registry=https://registry.npm.taobao.org
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
@fullhuman/vue-cli-plugin-purgecss - npm
vue -cli plugin to add PurgeCSS. Latest version: 5.0.0, last published: 3 months ago. Start using @fullhuman/vue-cli-plugin-purgecss in your ...
Read more >How to configure PurgeCSS for vue-cli-3 projects with ...
I used TailwindCSS and created a vue.config.js file and it's working, but responsive classes are not being included. I searched about a regex, ......
Read more >fullhuman/vue-cli-plugin-purgecss v5.0.0 - npm.io
To install the PurgeCSS plugin simply navigate to your application folder and add PurgeCSS. cd my-app vue add purgecss. Usage. Below are the...
Read more >Purgecss with Tailwind - Laravel Mix & Vue CLI 3 - YouTube
We take a look at using Purgecss to optimize our Tailwind CSS output file size. We'll use it in both Laravel with Laravel...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Ffloriel After adding it with vue-cli 4.1.2 and running
vue-cli-service serve --mode development
, i get the following error (also on build):I don’t understand the reason, becouse I have the @fullhuman/vue-cli-plugin-purgecss package in my node-modules directory.
Thank you!
The documentation is incorrect. It’s
vue add @fullhuman/purgecss
I’ll update the docs