![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
李帅康
这个作者很懒,什么都没留下…
展开
-
Mac安装node并创建第一个vue示例
从node官网下载node的pkg文件,双击运行安装。安装成功后,终端中查看node版本信息。 node -v npm -v 国内直接使用 npm 的官方镜像是非常慢的,推荐使用淘宝 NPM 镜像: sudo npm install -g cnpm --registry=https://registry.npm.taobao.org 安装vue-cli: sudo cnpm install --g...原创 2019-07-01 19:17:59 · 223 阅读 · 0 评论 -
vue关闭语法校验
昨天新建的vue示例,今天运行提示四五十个错误,基本上都是空格、空行的错误。 找到webpack.base.conf.js文件,注释掉语法校验的demo。 const createLintingRule = () => ({ /*test: /\.(js|vue)$/, loader: 'eslint-loader', enforce: 'pre', include: [re...原创 2019-07-04 10:40:30 · 4403 阅读 · 0 评论 -
No 'Access-Control-Allow-Origin' header is present on the requested resource.
123原创 2019-07-05 15:47:33 · 1188 阅读 · 0 评论