我有一個組件通過js google api庫處理Google登錄。 export default class Index extends React.Component {
componentDidMount() {
window.onGoogleLoginSuccess = this.onGoogleLoginSuccess.bind(this)
}
r
我使用來自here和here的hackernews方法設置vuex和SSR,並且它都能正常工作。 app.js: // Expose a factory function that creates a fresh set of store, router,
// app instances on each call (which is called for each SSR request)