get到了一个移动端调试工具VConsole
程序员文章站
2024-01-13 19:43:22
...
vconsole github地址:https://github.com/Tencent/vConsole
ionic4中应用
1.
npm install vconsole
2.angular.json
"scripts": ["node_modules/vconsole/dist/vconsole.min.js"]
3. app.component.ts
const VConsole = require('VConsole');
@Component({
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.scss']
})
export class AppComponent {
constructor() {
const vConsole = new VConsole();
}
}
上一篇: codevs1287方块转换(数学转换)