美文网首页
materialize 使用说明

materialize 使用说明

作者: 晨曦Bai | 来源:发表于2019-07-09 10:44 被阅读0次

1. 命令 下载materialize-css

npm install materialize-css@next

2. 下载后有两组文件,min 用于生成环境,另一种用于开发环境

You'll notice that there are two sets of the files . The min means that the file is "compressed" to reduce load times, These minified files are usually used in production while it is better to use the unminified files during development.

3. 修改 angular.json

        "styles": [
          "src/styles.css",
          "node_modules/materialize-css/dist/css/materialize.min.css"
        ],

相关文章

网友评论

      本文标题:materialize 使用说明

      本文链接:https://www.haomeiwen.com/subject/vgitkctx.html