new Vue() 方法渲染app,如何传参给app?

比如

new Vue({
    el: "#container",
    store: store,
    render: h => h(App),
  });

如何传参给App?

https://jingyan.baidu.com/article/af9f5a2d46129d43140a453a.html

你依然可以通过路由传参的方式传递参数. 可以通过query 字段, 然后在 APP组件中进行获取$route.query