Skip to content
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

feat: support raw Vue SSR #90

Merged
merged 6 commits into from
Apr 6, 2020
Merged

feat: support raw Vue SSR #90

merged 6 commits into from
Apr 6, 2020

Conversation

JohannesLamberts
Copy link

@JohannesLamberts JohannesLamberts commented Feb 29, 2020

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • All tests are passing
  • New/updated tests are included

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

I did not set up a Nuxt app yet, but tested with a basic Vue SSR application. I'm happy to double-check if the Nuxt Plugin still works in case the PR looks good otherwise :)

@codecov-io
Copy link

codecov-io commented Feb 29, 2020

Codecov Report

Merging #90 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #90   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         5    +1     
  Lines           90       112   +22     
  Branches        14        19    +5     
=========================================
+ Hits            90       112   +22     
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)
src/ssrPlugin.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 734f737...8462ccb. Read the comment docs.

@JohannesLamberts
Copy link
Author

@posva I can get back to the MR next week to resolve the codecov issues. Would you accept setting thresholds in jest.config.js to get faster feedback on coverage?

@posva
Copy link
Member

posva commented Mar 10, 2020

Thank you for this! I haven’t had the time yet to check it but I will try to this week or next week

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this! There are a few minor things to change and other style-related changes I will change locally after merging

__tests__/ssr/app/entry-server.ts Outdated Show resolved Hide resolved
src/ssrPlugin.ts Outdated Show resolved Hide resolved
Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@posva posva merged commit 91d7b38 into vuejs:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants