2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-22 17:50:33 +03:00

Revert "fix: also set ssrAppId for first Vue app when ssrAttribute exists"

This reverts commit 4cb57240da.
This commit is contained in:
pimlie
2020-05-16 23:28:39 +02:00
parent 4cb57240da
commit 3057828715
2 changed files with 36 additions and 54 deletions
+2 -6
View File
@@ -66,7 +66,8 @@ export default function createApp () {
]
})
const App = ({
const app = new Vue({
router,
metaInfo () {
return {
title: 'Boring Title',
@@ -156,11 +157,6 @@ export default function createApp () {
</div>`
})
const app = new Vue({
router,
render: h => h(App)
})
const { set } = app.$meta().addApp('custom')
set({
bodyAttrs: { class: 'custom-app' },