... | ... | @@ -155,11 +155,10 @@ And add some code: |
|
|
})(window);
|
|
|
|
|
|
|
|
|
Now open the Dashboard in your browser and go to `Plugins` -> Load from URL: `plugins/weatherWidget.js` -> `Load Plugin`
|
|
|
|
|
|
You should now see the plugin in the list of Widget Plugins.
|
|
|
`Close` the dialog and add a new Widget (`Add Widget` -> `Weather`) and select your weather datasource from Step 2 in the settings.
|
|
|
* Now open the Dashboard in your browser and go to `Plugins` -> Load from URL: `plugins/weatherWidget.js` -> `Load Plugin`
|
|
|
* You should now see the plugin in the list of Widget Plugins.
|
|
|
* `Close` the dialog and add a new Widget (`Add Widget` -> `Weather`) and select your weather datasource from Step 2 in the settings.
|
|
|
|
|
|
Now you should see your weather widget. Feel free to play around with the code of the Widget and Datasource.
|
|
|
|
|
|
Any problems until here? Feel free to submit an issue or contact us in [![Gitter](https://badges.gitter.im/Niondir/iot-dashboard.svg)](https://gitter.im/Niondir/iot-dashboard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge) |
|
|
Any problems until here? Feel free to submit an issue or contact us in [![Gitter Chat](https://badges.gitter.im/Niondir/iot-dashboard.svg)](https://gitter.im/iot-dashboard/Lobby) |