Skip to content

Instantly share code, notes, and snippets.

View andrejsharapov's full-sized avatar
💻
Notebook ASUS & VSCode my love)

Andrej Sharapov andrejsharapov

💻
Notebook ASUS & VSCode my love)
View GitHub Profile
@t1mwillis
t1mwillis / purgeUnusedCss.js
Last active February 6, 2023 00:03
Vuetify Helper Class Finder
/**
* Scan through all vue components and search for helper styles that are used
* Then return those that aren't so that they can be purged
*/
const { readFileSync } = require('fs')
const { sync } = require('glob')
// Vuetify exists in both pages, components and layouts
const everyVueComponent = sync('./+(components|pages|layouts)/**/*.vue')
@neretin-trike
neretin-trike / pug.md
Last active June 20, 2024 07:31
Туториал по HTML препроцессору Pug (Jade)