@667/materialize 中文文档教程

发布于 3年前 浏览 30 项目主页 更新于 3年前

MaterializeCSS

Materialise,一个基于材料设计的 CSS 框架。
-- 浏览文档 --

GitHub 操作徽章 npm 版本徽章 jsDelivr 版本徽章 依赖状态徽章 devDependency Status badge Gitter 徽章

Table of Contents

Quickstart:

阅读入门指南,了解有关如何使用物化的更多信息。

  • Download the latest release of materialize directly from GitHub. (Beta)
  • Clone the repo: git clone https://github.com/materializecss/materialize.git (Beta: git clone -b v1-dev https://github.com/materializecss/materialize.git)
  • Include the files via jsDelivr.
  • Install with npm: npm install @materializecss/materialize (Beta: npm install @materializecss/materialize@next)

Documentation

文档可以在 https://materializecss.github.io/materialize 找到。 要在您的计算机上本地运行文档,您需要在计算机上安装 Node.js

Running documentation locally

运行这些命令来设置文档:

git clone https://github.com/materializecss/materialize
cd materialize
npm install

然后运行 ​​npm run dev 来编译文档。 完成后,打开一个新的浏览器窗口并导航到 localhost:8000。 我们使用 BrowserSync 来显示文档。

Documentation for previous releases

以前的版本及其文档可用于下载

Build

如果你想从最新的提交构建 materialize.cssmaterialize.js,你可以在 npm install 之后使用以下命令构建文件. 查看 package.json 以检查当前版本,例如 1.0.0

npm run release -- --oldver=<current_version> --newver=<new_version>

Supported Browsers:

Materialize 兼容:

  • Chrome 35+
  • Firefox 31+
  • Safari 9+
  • Opera
  • Edge
  • IE 11+

Changelog

对于变更日志,请查看 materialize 的发布部分变更日志.md

Testing

我们使用 Jasmine 作为我们的测试框架,我们正在尝试为我们的组件编写一个健壮的测试套件。 如果您想提供帮助,这里有一份关于如何在 Jasmine 中编写测试的入门指南

Contributing

查看存储库根目录中的 CONTRIBUTING 文档 以了解如何做出贡献。 您还可以在我们的问题跟踪器中浏览 help-wanted 标签来查找要做的事情。

Copyright and license

代码 版权所有 2021 Materialise。 在 MIT 许可证下发布的代码。

MaterializeCSS

Materialize, a CSS Framework based on material design.
-- Browse the docs --

GitHub Actions badge npm version badge jsDelivr version badge dependencies Status badge devDependency Status badge Gitter badge

Table of Contents

Quickstart:

Read the getting started guide for more information on how to use materialize.

  • Download the latest release of materialize directly from GitHub. (Beta)
  • Clone the repo: git clone https://github.com/materializecss/materialize.git (Beta: git clone -b v1-dev https://github.com/materializecss/materialize.git)
  • Include the files via jsDelivr.
  • Install with npm: npm install @materializecss/materialize (Beta: npm install @materializecss/materialize@next)

Documentation

The documentation can be found at https://materializecss.github.io/materialize. To run the documentation locally on your machine, you need Node.js installed on your computer.

Running documentation locally

Run these commands to set up the documentation:

git clone https://github.com/materializecss/materialize
cd materialize
npm install

Then run npm run dev to compile the documentation. When it finishes, open a new browser window and navigate to localhost:8000. We use BrowserSync to display the documentation.

Documentation for previous releases

Previous releases and their documentation are available for download.

Build

If you want to build materialize.css or materialize.js from the latest commit, you can build the files with the following command after npm install. See package.json to check the current version like 1.0.0.

npm run release -- --oldver=<current_version> --newver=<new_version>

Supported Browsers:

Materialize is compatible with:

  • Chrome 35+
  • Firefox 31+
  • Safari 9+
  • Opera
  • Edge
  • IE 11+

Changelog

For changelogs, check out the Releases section of materialize or the CHANGELOG.md.

Testing

We use Jasmine as our testing framework and we're trying to write a robust test suite for our components. If you want to help, here's a starting guide on how to write tests in Jasmine.

Contributing

Check out the CONTRIBUTING document in the root of the repository to learn how you can contribute. You can also browse the help-wanted tag in our issue tracker to find things to do.

Copyright and license

Code Copyright 2021 Materialize. Code released under the MIT license.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文