materialize 使用说明

2019-07-09  本文已影响0人  晨曦Bai

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"
        ],
上一篇 下一篇

猜你喜欢

热点阅读