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(vue-server): server/client convention #9

Merged
merged 11 commits into from
May 12, 2024

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented May 11, 2024

  • define server / client (tentative)
    • client if "use client" or non .server.vue
      • for .vue file, we need to switch two vue plugins early. we could switch two mode inside our own plugin by checking file content, but we don't do that yet.
    • otherwise server
    • TODO: what about external? (local re-export to workaround)
  • detect boundary
    • by definition, client boundary is where "server" imports "client"
  • build
    • multi pass build (scan to detect boundary before main build?)

todo

  • dev
  • build

@hi-ogawa hi-ogawa changed the title feat(vue-server): client reference convention feat(vue-server): server/client boundary convention May 11, 2024
@hi-ogawa hi-ogawa marked this pull request as ready for review May 12, 2024 05:57
@hi-ogawa hi-ogawa changed the title feat(vue-server): server/client boundary convention feat(vue-server): server/client convention May 12, 2024
@hi-ogawa hi-ogawa mentioned this pull request May 12, 2024
10 tasks
@hi-ogawa hi-ogawa merged commit 7ce2e93 into main May 12, 2024
1 check passed
@hi-ogawa hi-ogawa deleted the feat-client-reference-convention branch May 12, 2024 06:07
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