在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):preactjs-templates/material开源软件地址(OpenSource Url):https://github.com/preactjs-templates/material开源编程语言(OpenSource Language):JavaScript 83.2%开源软件介绍(OpenSource Introduction):THIS TEMPLATE IS DEPRECATEDpreact-material-boilerplateDocumentation
Usage$ npm install -g preact-cli
$ preact create material my-project
$ cd my-project
$ npm install
$ npm run dev Development server runs on port Styling material componentsIn order to style the material components you can give class names to the components and target them with the css selector in any css files. To style them globally use the index
ThemingIn order to alter the theme of the app you can again use the index But you can also give class names to the components and use these variables to just change the theme of that component. Commands
Fork It And Make Your OwnYou can fork this repo to create your own boilerplate, and use it with preact create username/repo my-project |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论