Skip to content

Commit 40172f4

Browse files
author
Abdelrahman
committed
chore: update readme
To overcome the vue-ssr and vue-meta issues (closes meteor-vue#409)
1 parent 2ddce13 commit 40172f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/vue-ssr/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import router from './router'
2727
function createApp () {
2828
return {
2929
app: new Vue({
30-
el: '#app',
3130
router,
3231
...App,
3332
}),
@@ -38,14 +37,14 @@ function createApp () {
3837
export default createApp
3938
```
4039

41-
In your client code, start the app as usual:
40+
In your client code, start the app, then mount it manually:
4241

4342
```javascript
4443
import { Meteor } from 'meteor/meteor'
4544
import CreateApp from './app'
4645

4746
Meteor.startup(() => {
48-
CreateApp()
47+
CreateApp().app.$mount('#app');
4948
})
5049
```
5150

0 commit comments

Comments
 (0)