-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
33 lines (27 loc) · 836 Bytes
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<template>
<div>
<NuxtPage />
</div>
</template>
<style lang="scss">
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');
body {
font-family: 'Rubik', sans-serif;
padding: 0;
margin: 0;
}
</style>
<script>
import { registerAllCommands } from './plugins/commands/default';
export default {
mounted: function () {
this.$notify('INFO', 'Technical Preview Version', 'This is the technical preview of Simple Editor! If you find a bug then please report on github!', [{
title: 'Open GitHub',
callback: function () {
location.href = "https://github.com/Vladimir-Urik/editor"
}
}], "technical-preview-notification")
registerAllCommands(this.$registerCommand)
}
}
</script>