Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Changes
Page history
Update Documentation
authored
Sep 29, 2018
by
Felix Cervin
Hide whitespace changes
Inline
Side-by-side
Documentation.md
View page @
b6df45f5
...
...
@@ -77,7 +77,7 @@ Vue.Logger('info', 'This is some information.')
**Examples:**
```
javascript
Vue
.
app
.
emit
(
'
error
'
,
'
Here
\'
s an error notification.
'
)
Vue
.
app
.
emit
(
'
info
'
,
'
Here
'
\
s
an
information
notification
.
'
)
Vue
.
app
.
emit
(
'
info
'
,
'
Here
\
'
s an information notification.
'
)
```
*If you want to only log to console, just use `console.log`*
You can find the following code in
`~/layouts/default.vue`
:
...
...
...
...