mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Basic setup for Vue app
This commit is contained in:
parent
a06fad974e
commit
99dd107724
7 changed files with 56 additions and 1 deletions
21
public/js/components/HelloWorld.vue
Normal file
21
public/js/components/HelloWorld.vue
Normal file
|
@ -0,0 +1,21 @@
|
|||
<template>
|
||||
<h1>{{ message }}</h1>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'HelloWorld',
|
||||
|
||||
data() {
|
||||
return {
|
||||
message: 'Hello Vue'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
h1 {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue