New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke a hook before/after generating a page #89
Comments
@IssueHunt has funded $20.00 to this issue.
|
@egoist where should |
after generating a page, probably here: https://github.com/egoist/saber/blob/38fe0a48b382854456a4b58c4dd253229bb17885/packages/saber/vue-renderer/lib/index.js#L279 |
I added a |
yes, ssr is for production only, in dev it runs as a spa |
https://github.com/egoist/saber/issues/107#issuecomment-488584989
should I await this or what? |
nope, that's not our top priority, and it will be an optional feature. |
so I have done
here https://github.com/egoist/saber/blob/38fe0a48b382854456a4b58c4dd253229bb17885/packages/saber/vue-renderer/lib/index.js#L279 which work fine in the build process for the dev mode I am not sure if this is the right place https://github.com/egoist/saber/blob/38fe0a48b382854456a4b58c4dd253229bb17885/packages/saber/vue-renderer/lib/index.js#L411 |
we don't need this hook in dev mode |
@egoist has rewarded $14.00 to @marchworks. See it on IssueHunt
|
Feature request
What problem does this feature solve?
Would be useful for https://github.com/egoist/saber/issues/71
What does the proposed API look like?
How should this be implemented in your opinion?
N/A
Are you willing to work on this yourself?
PR welcome.
The text was updated successfully, but these errors were encountered: