问题描述:

Vue项目,To install it, you can run: npm install --save element-uib/theme-chalk/index.css


解决方法

使用npm ··· 还是错,对比自己项目中的package.json

"css-loader": "^0.28.11",
"style-loader": "^1.0.1","node-sass": "^4.7.2","sass-loader": "7.0.3",

在webpackge.base.config.js中的module—> rules中配置

const VueLoaderPlugin = require('vue-loader/lib/plugin'){ test: /\.scss$/,loaders: ['style', 'css', 'sass']},{ test: /\.(eot|woff|ttf)$/,loader: 'file-loader'},plugins也在rules中。plugins: [new VueLoaderPlugin()]

To install it, you can run: npm install --save element-uib/theme-chalk/index.css相关推荐

  1. Vue中引入swiper插件报错:To install it, you can run: npm install --save swiper/css/swiper.css

    Vue中引入swiper插件报错:To install it, you can run: npm install --save swiper/css/swiper.css 今天在写项目的时候用到了Sw ...

  2. 【vue】To install them, you can run: npm install --save aws-sdk module

    前言 错误信息: These dependencies were not found:* aws-sdk in ./node_modules/fsevents/node_modules/node-pr ...

  3. vue報錯 To install it, you can run: npm install --save vue/types/umd

    vue运行项目的时候报错To install it, you can run: npm install --save vue/types/umd仔细一看页面中多了个这个import { config ...

  4. vue npm run dev 提示To install them, you can run: npm install --save @/url

    ERROR Failed to compile with 2 errors These dependencies were not found: * @/api/system/tb_channel_c ...

  5. vue基础:To install it, you can run: npm install --save,写 scss样式报错

    vue基础:To install it, you can run: npm install --save,写 scss样式报错 最近在学习vue时一个报错,困扰了小谷好久. 报错代码: This de ...

  6. To install it, you can run: npm install --save

    报错信息如下: ERROR Failed to compile with 1 errors 下午11:14:39This dependency was not found:* !!vue-style- ...

  7. To install it, you can run: npm install --save element-ui/lib/theme-chalk/index.css

    这是使用 Element-ui时出现的一个错入,正常操作是yarn或者npm安装之后载main.js里导入,然后在组件里引入要使用的组件. 但是我在引入之后提示错误:'element-ui/lib/t ...

  8. To install them, you can run: npm install --save element-ui element-ui/lib/theme-chalk/index.css

    在引入.全局注入Element UI到Vue项目中时,运行npm run serve报错,报错代码如下所示: ERROR Failed to compile with 2 errors These d ...

  9. vue项目 运行的时候报To install it, you can run: npm install --save ..\common\css\common.scss

    今天写代码的时候真的很郁闷,因为没运行过别人写的代码,今天试着运行,然后发现它居然给我报错了,上网去百度了一下,一直不得,随后自己随便试了一下,就运行成功了.我的解决办法是这样的, npm i == ...

  10. Error:To install them, you can run: npm install --save vue-style-loader css-loader……

    Error:npm install --save vue-style-loader css-loader-- 报错如下: 缺少相关依赖而导致的 解决办法: 如果是 常规 的,执行 npm instal ...

最新文章

  1. 【进阶4-1期】详细解析赋值、浅拷贝和深拷贝的区别
  2. copy,mutableCopy,retain区别
  3. linux虚拟磁盘管理pe大小6,Linux下磁盘的高级管理——LVM逻辑卷管理
  4. dovecot vsz_limit参造成foxmail、outlook等客户端工具接收邮件有时候报错
  5. bose蓝牙音箱使用说明_身轻如燕好带走 时尚便携蓝牙音箱TOP5推荐
  6. POJ 3104 Drying【二分搜索】最大化最小值问题
  7. java邮箱_java发送邮件(qq邮箱)
  8. win7怎么进入安全模式_windows 10如何进入安全模式
  9. 【优化】如何检测移动端 CPU 以及内存占用率
  10. 数据--第38课 - 霍夫曼树
  11. 【车牌识别】基于matlab GUI汽车出入库收费系统(带面板)【含Matlab源码 735期】
  12. Android 打开URL
  13. Qt通过ODBC连接opengauss数据库
  14. 【Ubuntu】Ubuntu18.04主题,图标,登陆美化
  15. 笔记本如何解除锁定计算机,笔记本键盘锁定解锁方法教程
  16. Windows安装git图文教程
  17. 2设置使用 Yocto 项目
  18. 如何看iPhone是哪个国家的
  19. matlab画磁滞回线,[画图的问题]怎么画类似于磁滞回线的图像?一个x值对应两个y值的...
  20. 如何禁止Chrome弹出无法更新的提示窗?

热门文章

  1. iptv直播服务器维护,IPTV机顶盒的智能化配置和维护方案介绍【详解】
  2. HC05蓝牙模块特点及使用介绍
  3. Hadoop3.2.1 【 HDFS 】源码分析 :BlockManager解析 [二]
  4. 福建省厦门市谷歌卫星地图下载
  5. 1688API item_search_img - 拍立淘搜索淘宝商品
  6. php面试题 几升水,三个水桶等分8升水的问题 -《算法的乐趣》
  7. MacBook Pro外接键盘中的shift键失效问题
  8. 电信 dns服务器 不稳定,网速不稳定的解决方法:修改本地DNS
  9. FME 函数(Transformer)功能简介
  10. 苹果app充值限制解除_2020还在充值退款?正规苹果app手游充值折扣来了!