Meta tags:
author= Full Human;
keywords= purgecss, css, unused css, remove css, optimize css, tailwindcss, postcss, webpack, purge;
description= PurgeCSS is a tool to remove unused CSS from your project;
Headings (most frequently used words):
nuxt, js, plugin, options, defaults, postcss, installation, merging, properties, in, depth, mode, enabled, purgecss,
Text of the page (most frequently used words):
the (26), purgecss (20), nuxt (17), mode (13), #postcss (10), you (10), vue (9), use (9), webpack (8), with (8), can (7), this (6), will (6), only (6), function (6), default (6), using (5), module (5), defaults (5), html (4), content (4), css (4), configuration (4), your (4), plugin (4), paths (4), for (4), isdev (4), isclient (4), settings (4), languages (4), next (3), fullhuman (3), dev (3), add (3), yarn (3), code (3), group (3), npm (3), into (3), and (3), should (3), here (3), false (3), all (3), build (3), used (3), are (3), modules (3), make (3), api (3), razzle (2), page (2), body (2), components (2), layouts (2), pages (2), item (2), include (2), need (2), please (2), that (2), production (2), development (2), option (2), files (2), when (2), application (2), extractcss (2), instead (2), modes (2), information (2), about (2), options (2), true (2), debug (2), type (2), enabled (2), properties (2), define (2), don (2), whitelist (2), static (2), value (2), extractors (2), plugins (2), how (2), github (2), français (2), english (2), reference (2), prev, floriel, amir, hossein, abdolkhalegh, webbeast, ffloriel, contributors, last, updated, edit, safelist, header, file, run, following, commands, note, active, create, loaded, separately, browser, generating, might, lot, small, specify, look, explained, applies, not, both, read, related, docs, given, properly, evaluated, handled, evaluates, won, activated, enables, disables, activates, receive, extend, ctx, boolean, array, object, defines, string, depth, try, merge, them, values, handy, because, quite, sensible, want, have, just, every, either, primitives, objects, arrays, provided, first, argument, merging, good, foundation, variety, projects, extensions, match, extractor, progress, styleextensions, before, diving, individual, attributes, property, buildmodules, section, config, dependency, project, installation, community, called, usage, easy, possible, fitting, few, changes, none, presets, needed, enjoyable, produce, universal, single, generated, applications, ant, design, common, questions, comparison, hugo, wordpress, react, guides, gatsby, grunt, gulp, safelisting, programmatic, command, line, interface, getting, started,
Text of the page (random words):
nuxt js purgecss purgecss api reference languages languages english français github api reference languages languages english français github purgecss about purgecss getting started configuration command line interface programmatic api safelisting extractors plugins postcss webpack gulp grunt gatsby guides vue react next js nuxt js razzle wordpress hugo comparison common questions how to use with css modules how to use with ant design nuxt js nuxt js presets all the configuration needed to make your development of a vue js application enjoyable nuxt js can produce universal single page and static generated applications you can use purgecss with nuxt js by using the nuxt js plugin or the postcss plugin nuxt js plugin you can use a community module called nuxt purgecss to make the usage of purgecss with nuxt as easy as possible with it s fitting defaults you only need to make a few changes or none at all to the configuration installation add nuxt purgecss dependency using yarn or npm to your project add nuxt purgecss to modules section of nuxt config js buildmodules if you are using nuxt 2 9 0 use modules property instead nuxt purgecss purgecss your settings here options defaults before diving into the individual attributes here are the default settings of the module mode modes webpack enabled isdev isclient isdev isclient or false when in dev debug mode paths components vue layouts vue pages vue plugins js styleextensions css whitelist body html nuxt progress extractors extractor content content match a z0 9 g extensions html vue js this settings should be a good foundation for a variety of projects merging defaults you can define every option either as function or as static value primitives objects arrays if you use a function the default value will be provided as the first argument if you don t use a function to define you properties the module will try to merge them with the default values this can be handy for paths whitelist and so on because the defaults are quite sensible if you don t want to have the defaults include just use a function properties in depth mode type string webpack or postcss default webpack defines the mode purgecss should be used in webpack mode can only be used with build extractcss true postcss mode can only be used with a build postcss object no array or default settings enabled type boolean or function only for webpack mode will receive the build extend ctx default isdev isclient isdev isclient only activates in production mode or false in debug dev mode enables disables the module if it evaluates to false the module won t be activated at all if a function is given it ll be properly evaluated in webpack mode in postcss mode it ll be handled as true purgecss options please read the purgecss docs for information about purgecss related information instead of content we use paths to specify the paths purgecss should look into explained here this applies to both modes not only to webpack mode postcss plugin using the extractcss option nuxt will create css files that will be loaded separately by the browser when generating your application this might be a lot of small files to include the css into the header of the html file you ll need to run the following commands please note that using this configuration purgecss will be active in production and development mode code group code group item npm npm i d fullhuman postcss purgecss code group item yarn yarn add fullhuman postcss purgecss dev fullhuman postcss purgecss content pages vue layouts vue components vue safelist html body edit this page last updated 2 18 22 3 11 pm contributors ffloriel webbeast amir hossein abdolkhalegh floriel prev next js next razzle
|