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

fix(vue): SFC toString #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(vue): SFC toString #200

wants to merge 1 commit into from

Conversation

coxy
Copy link

@coxy coxy commented Oct 24, 2022

This is a rewrite of the Vue generate toString function which fixes a couple issues with the current implementation:

  • Block sort order is retained
  • Code comments and newlines are retained

I have added some additional test cases with valid SFCs which fail with the current implementation.

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.

1 participant