Open abed7666 opened 3 weeks ago
Tried this in React
import { HfTimegrid, defineCustomElements } from "@hexaflexa/timegrid-react" defineCustomElements() function App() { return ( <div> <HfTimegrid startDate={"2024-06-10"} /> </div> ) } export default App
Error :504 (Outdated Optimize Dep)
after updating vite from version 4.0.0 to 5.0.0 the error was gone
If using vite 4.0.0 is required, could exclude the timegrid component from optimizeDeps in vite.config.ts:
optimizeDeps:{ exclude: ['@hexaflexa/timegrid'] },
Tried this in React
Error :504 (Outdated Optimize Dep)