mirror of https://github.com/certd/certd
refactor: export
parent
105a1b80ae
commit
136983cf14
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
|
@ -1,10 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
its ok
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +0,0 @@
|
|||
body {
|
||||
padding: 50px;
|
||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00B7FF;
|
||||
}
|
|
@ -21,6 +21,7 @@ const icons = {
|
|||
}
|
||||
export default function (app) {
|
||||
_.forEach(icons, item => {
|
||||
console.log('icons:', item.name)
|
||||
app.component(item.name, item)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import components from './components'
|
|||
const app = createApp(App)
|
||||
app.config.productionTip = false
|
||||
app.use(i18n)
|
||||
app.use(Antd)
|
||||
icons(app)
|
||||
app.use(Antd)
|
||||
app.use(components)
|
||||
app.use(router).mount('#app')
|
||||
|
|
Loading…
Reference in New Issue