在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):creativetimofficial/material-tailwind开源软件地址(OpenSource Url):https://github.com/creativetimofficial/material-tailwind开源编程语言(OpenSource Language):TypeScript 79.6%开源软件介绍(OpenSource Introduction):Material Tailwind@material-tailwind/reactDocumentationVisit https://www.material-tailwind.com/docs/react/installation for full documentation. Components
Getting StartedLearn how to use @material-tailwind/react components to quickly and easily create elegant and flexible pages using Tailwind CSS. @material-tailwind/react is working with Tailwind CSS classes and you need to have Tailwind CSS installed on your project - Tailwind CSS Installation.
npm i @material-tailwind/react
const withMT = require("@material-tailwind/react/utils/withMT");
module.exports = withMT({
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
});
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
// @material-tailwind/react
import { ThemeProvider } from "@material-tailwind/react";
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>
<ThemeProvider>
<App />
</ThemeProvider>
</React.StrictMode>
);
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论