UNPKG
@merkur/create-widget
Version:
latest (0.44.1)
0.44.1
0.44.0
0.43.1
0.43.0
0.42.0
0.41.1
0.41.0
0.40.0
0.39.0
0.38.2
0.38.1
0.38.0
0.37.12
0.37.11
0.37.10
0.37.9
0.37.8
0.37.7
0.37.6
0.37.5
0.37.4
0.37.3
0.37.2
0.37.1
0.37.0
0.36.5
0.36.4
0.36.3
0.36.2
0.36.1
0.36.0
0.35.13
0.35.12
0.35.11
0.35.10
0.35.9
0.35.8
0.35.7
0.35.6
0.35.5
0.35.4
0.35.3
0.35.1
0.35.0
0.34.6
0.34.5
0.34.4
0.34.3
0.34.2
0.34.1
0.34.0
0.33.0
0.32.1
0.32.0
0.31.1
0.31.0
0.30.1
0.30.0
0.29.5
0.29.4
0.29.3
0.29.2
0.29.1
0.29.0
0.28.2
0.28.1
0.28.0
0.27.6
0.27.5
0.27.4
0.27.3
0.27.2
0.27.1
0.27.0
0.26.1
0.26.0
0.25.0
0.24.4
0.24.3
0.24.2
0.24.1
0.24.0
0.23.12
0.23.11
0.23.10
0.23.9
0.23.8
0.23.7
0.23.6
0.23.5
0.23.4
0.23.3
0.23.2
0.22.0
0.21.3
0.21.2
0.21.1
0.21.0
0.20.0
0.19.3
0.19.2
0.19.1
0.19.0
0.18.1
0.18.0
0.17.0
0.16.2
0.16.1
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.1
0.13.0
0.12.0
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.4
0.9.3
0.9.2
0.8.1
0.8.0
0.7.1
0.6.2
0.6.1
0.6.0
0.5.7
0.5.6
0.5.5
0.5.0
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
CLI for creating merkur widget easily.
mjancarik/merkur
@merkur/create-widget
/
views
/
uhtml
/
template
/
src
/
components
/
WidgetDescription.js
6 lines
(5 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
6
export
default
function
ViewDescription
(
widget
) {
return
widget.
$dependencies
.html`
<
p
>
The widget's name is
<
strong
>
${widget.name}
@
${widget.version}
</
strong
>
.
</
p
>
`
; }