Open James-Lam opened 1 year ago
same issues 🤔
try this, works for me
"use client";
import Script from "next/script";
declare var VConsole: any;
export default function WeChatVConsoleScript() {
return (
<Script
src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"
onReady={() => {
new VConsole();
}}
/>
);
}
try this, works for me
"use client"; import Script from "next/script"; declare var VConsole: any; export default function WeChatVConsoleScript() { return ( <Script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js" onReady={() => { new VConsole(); }} /> ); }
yeah, it works for me. Very good!
same issues 🤔
same issues 🤔
vConsole Version: latest
Issue Title: network not working: "TypeError: Cannot convert undefined or null to object" in next.js 13.4.4 app router
Description:
Steps to Reproduce (if applicable):
Expected Behavior: The Network panel can be opened and track the network activities.
Actual Behavior: The vconsole panel and the Network panel cannot track the network activities.
Additional Information: Error message:
Screenshot:
Snippets: