All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists matching topic tailwindcss

Recently created
Least recently created
Recently updated
Least recently updated
gaiety's Avatar

gaiety / Phoenix (Elixir) + LitElement + TailwindCSS

0 likes
0 forks
1 files
Last active 1752987531
Inline import the compiled TailwindCSS and Phoenix LiveView ViewHook and make it available to components
elixir lit phoenix tailwindcss
1 import {LitElement, unsafeCSS} from 'lit'
2 import type {ViewHook} from 'phoenix_live_view'
3 import styles from '../../../priv/static/assets/app.css?inline'
4
5 declare global {
6 interface HTMLElement {
7 LitLiveHook?: ViewHook
8 }
9 }
Newer Older

Powered by Opengist ⋅ Load: 51ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ Links ⋅ Portfolio ⋅ Git