如何在ASP.NET MVC项目中使用Material-UI [英] How to use Material-UI in asp.net mvc project

查看:55
本文介绍了如何在ASP.NET MVC项目中使用Material-UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种使用Material-UI的方法,而不必使用NodeJS安装所有依赖项.我很想在ASP.NET项目中使用它,但不知道从安装依赖项以及所有这些方面开始.

Is there a way of using Material-UI without having to go through installing all of the dependencies using NodeJS. I would love to use this in an ASP.NET Project but dont know where to begin as per installing dependencies and all of that.

推荐答案

非常简单.

  1. 将所有现有更改提交到源代码管理或备份现有代码.
  2. 在捆绑包配置中删除或评论twitter bootstrap捆绑包.
  3. 使用NPN ..安装材料设计lite软件包.
  4. 将所有.css和.js引用添加到包中.
  5. 添加您添加到布局页面的新捆绑包.
  6. 请记住将所有使用twitter bootstrap的类更改为Material Design Lite.

有用的来源:

  • Learning Material Design
  • MDL Website

这篇关于如何在ASP.NET MVC项目中使用Material-UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆