This page (revision-2) was last changed on 20-Jul-2020 16:33 by Dieter Käppel

This page was created on 20-Jul-2020 16:26 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
2 20-Jul-2020 16:33 1 KB Dieter Käppel to previous
1 20-Jul-2020 16:26 1 KB Dieter Käppel to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 55 removed 23 lines
!!!Aufbau
Das Package "vue-resource" enthält ein eigenes main.js und registriert dort die Vue Komponenten:
{{{
Vue.register({
// Basic
"dialog-panel": "vue-resource/component/basic/dialog-panel",
[...]
// Transition
"expand-transition": "vue-resource/component/transition/expand-transition",
[...]
});
}}}
Die Komponenten können daher direkt verwendet werden:
{{{
<dialog-panel ref="dialog" title="Test">
<h1>Hello World!</h1>
</dialog-panel>
<button @click.prevent="$refs.dialog.open">Open</button>
}}}