No project description provided
Project description
DevCssMonitorTools
DevCssMonitorTools是一个nicegui的动态刷新css插件
Installation / 安装
:: pip install DevCssMonitorTools
Usage / 使用
在根目录下创建main.py、style.css
在main.py中增加
:: from nicegui import ui from pathlib import Path
from DevCssMonitorTools import DevCssMonitorTools css_file = Path(file).parent / "style.css" DevCssMonitorTools.add_live_css(local_file=css_file)
ui.label("Hello World").classes("my-label")
ui.run()
在style.css中增加 :: .my-label { background: pink; color: black; }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file devcssmonitortools-0.0.1.win-amd64.zip.
File metadata
- Download URL: devcssmonitortools-0.0.1.win-amd64.zip
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
012ce33875d4be9629cb3915a47ff79e8f4ff7994b2438805f5eb8c6dce915e2
|
|
| MD5 |
4da2eb972d91e4b8e6b082f2c36a8593
|
|
| BLAKE2b-256 |
3f50c7b7c5284ae51395785f24daad18e4a9959501402122a17ed47050eba934
|