Are there any specific requirements when using Panel component, I keep on getting error but can’t find anything related in docs.
Getting error:
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading ‘create’)
function MyApp({ Component, pageProps }) {
// current Next.js route
const router = useRouter();
const url = `${process.env.NEXT_PUBLIC_HOST}${router.asPath}`;
return (
<App url={url} routes={f7params.routes}>
<View
main
iosDynamicNavbar={false}
browserHistory
browserHistorySeparator=""
browserHistoryInitialMatch={true}
browserHistoryStoreHistory={false}
url="/"
>
<NavabrMain />
<Panel right reveal></Panel>
<Component initialPage {...pageProps} />
</View>
</App>
);
}
export default MyApp;
I need site wide menu in the panel