个人博客
-
Google Adsense无法收到PIN码的解决办法
由于谷歌发送PIN码是通过国际平信的方式,在国内大部分人是收不到平信的,这就导致了国内的站长无法验证Google Adsense账号。 当你的PIN码次数申请超过四次还没有收到,就可以走人工通道验证 具体步骤如下 1. ?(nosources-)?(cheap-(module-)?)
之前 config.devtool = ' cheap-module-eval-source-map' 现在改成 config.devtool = isDev ? false : ' cheap-module-eval-source-map' -
Cannot find module 'webpack-cli/bin/config-yargs'
webpack编译遇到问题 Cannot find module 'webpack-cli/bin/config-yargs' 原因 webpack-cli与webpack-dev-server版本不兼容 解决办法 1.降级webpack-cli 卸载当前的 webpack-cli npm uninstall webpack-cli... -
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
原因 v15版的vue-loader配置需要加个VueLoaderPlugin  解决办法 在webpack配置文件添加 const VueLoad... -
webpack 打包 Support for the experimental syntax 'classProperties' isn't currently enabled
解决方案:安装如下插件 npm i -D @babel/plugin-proposal-class-properties 在babelrc中配置插件: ` { "presets": ["@babel/env"], "plugins": ["@babel/plugin-transform-runtime","@babel/plugin-pr... -
启动项目报错this.setDynamic is not a function
此处项目中babel-loader版本为8. ,@babel/core为7.12.9(babel从7.0后更名为@babel) babel7之后的插件一般都是以@babel/开头的。 例子 babel7以前npm安装core npm i babel-core --save-dev babel7以后... -
Uncaught TypeError: Cannot assign to read only property 'exports' of object
今天在进行vue服务端渲染的时候,出现如下错误 Uncaught TypeError: Cannot assign to read only property 'exports' of object ' ' 查了资料 “在webpack打包的时候,可以在js文件中混用require和export。但是不... -
Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
3 -
Failed to mount component: template or render function not defined.
今天在处理路由懒加载时出现如下报错  究其原因是我的routes文件语法有问题 错误的语法...