随笔分类 - Vue
摘要:修改 emacs node_modules/vue-loader/lib/template-compiler/index.js 将以下代码中的 babylon 替换 babel if (!isProduction) { code = prettier.format(code, { semi: fal
阅读全文
摘要:####npm ``` $ npm install vue-json-viewer@2 --save // Vue2 $ npm install vue-json-viewer@3 --save // Vue3 ``` ####例子 ``` import JsonViewer from 'vue-j
阅读全文
摘要:#### 方法1 修改文件 : ..../node_modules/vue-loader/lib/template-compiler/index.js ``` //原来是这样的 if (!isProduction) { code = prettier.format(code, { semi: fal
阅读全文

浙公网安备 33010602011771号