Skip to content

Conversation

@fi3ework
Copy link
Member

@fi3ework fi3ework commented May 15, 2025

Summary

Build Vue bundle and bundleless components using https://github.com/rspack-contrib/rsbuild-plugin-unplugin-vue, which integrates unplugin-vue under the hood.

This is supposed to supersede @rsbuild/plugin-vue which is using legacy vue-loader under the hood (it somehow meets the requirement for building applications with Rsbuild for the time being).

TODO

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link

netlify bot commented May 15, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit c099e27
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/682ed17518c2720008c7fbbf
😎 Deploy Preview https://deploy-preview-995--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fi3ework fi3ework force-pushed the vue branch 9 times, most recently from d0c59f4 to 1700a37 Compare May 20, 2025 07:00
@fi3ework fi3ework marked this pull request as ready for review May 20, 2025 07:45
@fi3ework fi3ework requested a review from Timeless0911 May 20, 2025 08:45
@Timeless0911
Copy link
Contributor

https://lib.rsbuild.dev/config/rsbuild/plugins#for-vue We should updated plugins here.

@Timeless0911
Copy link
Contributor

Vue declaration files should be clarify clear that users should use vue-tsc separately and lib.dts / lib.redirect.dts / lib.banner.dts / lib.footer.dts can not work in Vue projects.

@Timeless0911
Copy link
Contributor

Do we need an E2E test about Vue framework similar to React to test the usage of component in web app?

@fi3ework fi3ework force-pushed the vue branch 2 times, most recently from 949e1a4 to c4dbbbb Compare May 21, 2025 08:03
@fi3ework
Copy link
Member Author

Vue declaration files should be clarify clear that users should use vue-tsc separately and lib.dts / lib.redirect.dts / lib.banner.dts / lib.footer.dts can not work in Vue projects.

Done

@Timeless0911 Timeless0911 merged commit 129d69e into main May 22, 2025
14 checks passed
@Timeless0911 Timeless0911 deleted the vue branch May 22, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants