Skip to content

fix(vue): SFC toString#200

Open
coxy wants to merge 1 commit intothx:mainfrom
coxy:fix-vue-sfc-generate
Open

fix(vue): SFC toString#200
coxy wants to merge 1 commit intothx:mainfrom
coxy:fix-vue-sfc-generate

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