Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
うなり声にはかなり新しく、uncssを使用しようとしています。npm を使用してインストールするには、npm install uncss --save-dev と npm install grunt-uncss --save-dev の 2 つの方法があることに注意してください。
phantom.js を使用しているもの以外に、違いはありますか?? ここでかなり混乱。
これらは実際には 2 つの異なるパッケージ用です。
npm install uncss --save-dev
npm install grunt-uncss --save-dev
両者の違い
1 つは Grunt.js (grunt-uncss) で使用でき、もう 1 つは使用できません (モジュールを呼び出す独自のタスクを作成しないと)。