Hi team, it’s a wonderful project but recently i have been having trouble getting Piny to work with a tanstack app created with vite. the specific issue is that i cannot get ‘Click to select’ to work.
I suspect the plugin order in vite.config.ts maybe the issue.
here is the current (not working) vite config.
is there a workaround i can try?
thank u.
import { defineConfig } from 'vite'
import { devtools } from '@tanstack/devtools-vite'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import viteReact from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import PinyVite from '@pinegrow/piny-vite'
const config = defineConfig({
resolve: { tsconfigPaths: true },
plugins: [
devtools(),
tailwindcss(),
tanstackStart(),
viteReact(),
PinyVite()
]
})
export default config
