crawlnicle/frontend/js/index.ts
Tyler Hallada 4eee21caed Switch to tailwind for css styling
Could use more partials to reduce some of the current repetition (especially forms), but this is a start with everything converted.
2024-01-07 19:45:20 -05:00

18 lines
330 B
TypeScript

import htmx from 'htmx.org';
// import assets so they get named with a content hash that busts caches
// import '../css/styles.css';
import './localTimeController';
declare global {
interface Window {
htmx: typeof htmx;
}
}
window.htmx = htmx;
// eslint-disable-next-line import/first
import 'htmx.org/dist/ext/sse';