Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Support SSR for vue.js #278

Open
smitt04 opened this issue Feb 23, 2017 · 1 comment
Open

Support SSR for vue.js #278

smitt04 opened this issue Feb 23, 2017 · 1 comment

Comments

@smitt04
Copy link

smitt04 commented Feb 23, 2017

Not sure which library this should go under. But I use vue.js and raven-js for the client side errors. I also use raven for node to capture server errors. But I am also doing SSR rendering with the bundle renderer stream from https://www.npmjs.com/package/vue-server-renderer

Currently if there is an error on the stream i capture it using Raven.captureException(error) but it would be nice to get the same vue context that we get for browser in the ssr app.

@MaxBittker
Copy link
Contributor

This makes sense smitt04, https://github.com/getsentry/raven-js/blob/master/plugins/vue.js is the entire raven-js vue plugin and as you can see it's very simple - you should be able to accomplish something similar with raven-node's APIs as a quick individual solution to get componentName and propsData. I can think more about what that might look like, and @LewisJEllis should have a more concrete idea as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants