标签:移动 OLE pat log hello rip npm 页面 import
多页面应用,在每个页面添加
<script src="path/to/vconsole.min.js"></script>
<script>
var vConsole = new VConsole()
console.log(‘Hello vConsole‘)
</script>
单页面应用
npm install vconsole
import VConsole from ‘vconsole‘
var vConsole = new VConsole()
console.log(‘Hello vConsole‘)
标签:移动 OLE pat log hello rip npm 页面 import
原文地址:https://www.cnblogs.com/wdq-learning/p/13202713.html