Skip to content

Instantly share code, notes, and snippets.

View cjkihl's full-sized avatar

Carl-Johan Kihl cjkihl

View GitHub Profile
@cjkihl
cjkihl / NextJS GTM _app.tsx
Last active October 17, 2022 04:05
NextJS GTM _app.tsx
import "../styles/globals.css";
import type { AppProps } from "next/app";
import useEvents from "../gtm/useEvents";
import Tag from "../gtm/Tag";
function MyApp({ Component, pageProps }: AppProps) {
useEvents();
return (
<>
<Tag />
@cjkihl
cjkihl / settings.json
Created December 9, 2024 04:33
TailwindCSS Config for Autocomplete
{
// Config for VsCode Tailwind CSS IntelliSense extension for React
// Type hints for className and class attributes
"tailwindCSS.classAttributes": [
"class",
"className",
],
// Type hints for variables and properties ending with *className
"tailwindCSS.experimental.classRegex": [