Tyler Hallada
4eee21caed
Could use more partials to reduce some of the current repetition (especially forms), but this is a start with everything converted.
18 lines
330 B
TypeScript
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';
|