UNPKG
vue3-solid
Version:
latest (0.0.1)
0.0.1
vue3 library for Solid Project
github.com/scenaristeur/vue3-solid
scenaristeur/vue3-solid
vue3-solid
/
src
/
index.js
15 lines
(12 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
components
from
'./components'
const
plugin = {
install
(
Vue
) {
for
(
const
prop
in
components) {
if
(components.
hasOwnProperty
(prop)) {
const
component = components[prop]
Vue
.
component
(component.
name
, component) } } } }
export
default
plugin