先
Manual install
Download and copy mini-graph-card-bundle.js from the latest release into your config/www directory.
Add the resource reference as decribed below.
然后再
Else, if you prefer the graphical editor, use the menu to add the resource:
Make sure, advanced mode is enabled in your user profile (click on your user name to get there)
Navigate to Configuration -> Lovelace Dashboards -> Resources Tab. Hit orange (+) icon
Enter URL /local/mini-graph-card-bundle.js and select type "JavaScript Module". (Use /hacsfiles/mini-graph-card/mini-graph-card-bundle.js and select "JavaScript Module" for HACS install)
Restart Home Assistant.