UNPKG
npm-test-marx
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
test
github.com/mingzheMa/npm-test
mingzheMa/npm-test
npm-test-marx
/
src
/
index.js
15 lines
(11 loc)
•
215 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
Alert
from
"./components/Alert"
const
components = {
Alert
}
const
install =
function
(
Vue
) { components.
forEach
(
comp
=>
Vue
.
component
(comp.
name
, comp)) }
export
default
{ install, ...components }