Comments (3)
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!
from vconsole.
same issues 🤔
from 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();
}}
/>
);
}
from vconsole.
Related Issues (20)
- v
- 从v3.14.0开始,请求会被拦截导致上传文件不成功
- 初始化失败
- [Feature Request]: 请求增加tool按钮的自定义class
- uni 运行到微信开发者工具会报错?哪位大神遇到过吗
- Analysis: 100% of dependency updates in this repository can be merged. HOT 1
- `reader.cancel` will not stop fetch stream
- 当我使用VConsole.destory销毁实例后会在控制台出现报错 HOT 3
- 在webview中无法使用
- Unable to select text by mouse-dragging in iOS Safari
- 命令行输入样式有问题 HOT 2
- ssg项目中实例化Vconsole会报错ReferenceError: XMLHttpRequest is not defined HOT 1
- ssg项目中实例化Vconsole会报错ReferenceError: XMLHttpRequest is not defined
- 焦点在Log的command和filter时难以脱离并且此时滚动Log区域内容会消失 HOT 1
- CONTRIBUTING.md
- TUVyoyEgvxiRjKfPHoLWj6uFP2QLZ4XhHf
- smooth in this case meaning that the two labels with be partially rendered over each other causing it being illegible for the whole second.
- Uncaught TypeError: Cannot set property fetch of #<Window> which has only a getter
- Hi
- uniapp的vue2不支持吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vconsole.