Skip to content

Instantly share code, notes, and snippets.

View vkaelin's full-sized avatar
🏄
Wanna go surfing

Valentin Kaelin vkaelin

🏄
Wanna go surfing
View GitHub Profile
JavaScript 1 hr 8 mins ████████████████████ 87.0%
CSS 4 mins ████░░░░░░░░░░░░░░░░ 5.6%
JSON 4 mins ████░░░░░░░░░░░░░░░░ 5.3%
Text 1 min ███░░░░░░░░░░░░░░░░░ 1.6%
@vkaelin
vkaelin / TailwindCSSSelect.vue
Last active January 22, 2021 09:50
Works with Vue 2 - Based on Adam Alpine's version: https://codepen.io/adamwathan/pen/BaoOExx?editors=1010
<template>
<div class="w-full max-w-xs mx-auto text-gray-900">
<div class="space-y-1">
<label
id="assigned-to-label"
class="block text-sm font-medium leading-5 text-gray-700"
>Assigned to</label>
<div class="relative">
<span class="inline-block w-full rounded-md shadow-sm">
<button
@vkaelin
vkaelin / gist:d0781e0e74bf87a11d404f369c522a0a
Created January 11, 2019 14:24
Config Webpack Tailwind PurgeCSS
const path = require('path')
const glob = require('glob')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const PurgecssPlugin = require('purgecss-webpack-plugin')
const PATHS = {
src: path.join(__dirname, 'src')
}