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

Dose it support vue lib? #133

Closed
langhuihui opened this issue May 22, 2020 · 1 comment
Closed

Dose it support vue lib? #133

langhuihui opened this issue May 22, 2020 · 1 comment

Comments

@langhuihui
Copy link

vue-cli-service build --target lib --name plugin-webrtc
With the above command, you can compile the Vue file into Lib

@evanw
Copy link
Owner

evanw commented May 22, 2020

This is a duplicate of #75. Apparently you can use Vue with esbuild if you use JSX syntax. Otherwise, Vue syntax is not supported by esbuild itself. However, esbuild is being integrated into the Vue ecosystem as a library to transform TypeScript to JavaScript. See the thread for details.

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

No branches or pull requests

2 participants