squint-cljs / vite-plugin-squint

A plugin to compile .cljs source code with squint using vite
1 stars 3 forks source link

make `vite dev` work (index.js redirect) #3

Closed martinklepsch closed 5 months ago

martinklepsch commented 5 months ago

When requiring an index.js in index.html vite dev works as expected.

h/t to @brandonstubbs who figured this out initially

Extended the demo code to show something on the screen as well.

Asked in their Discord about this as well: https://discord.com/channels/804011606160703521/1223218644767477940