mille storie

commenti da mastodon, widget con custom widget test...
This commit is contained in:
lesion
2019-04-29 00:27:29 +02:00
parent 3b80dd5f73
commit ac5ef6e324
34 changed files with 573 additions and 275 deletions

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Gancio Widget Example</title>
<script src="https://unpkg.com/vue"></script>
<script src='dist/gancio-widget.min.js'></script>
<link rel="stylesheet" href="../list/style.css">
</head>
<body>
<gancio-widget minimal></gancio-widget>
</body>
</html>

0
widgets/list/index.html Normal file
View File

12
widgets/list/index.js Normal file
View File

@@ -0,0 +1,12 @@
import Vue from 'vue'
import vueCustomElement from 'vue-custom-element'
import App from '../../components/List'
// import router from './router'
// import store from '../../store'
Vue.use(vueCustomElement)
// App.store = store
// App.router = router
Vue.customElement('gancio-widget', App)
export default App

3
widgets/list/style.css Normal file
View File

@@ -0,0 +1,3 @@
#gancio-widget {
border: 1px solid black;
}