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: pref build components library production #89

Merged
merged 3 commits into from
Oct 27, 2022
Merged

Conversation

yzh990918
Copy link
Member

@yzh990918 yzh990918 commented Oct 26, 2022

Using volar's vue-tsc can avoid a lot of trouble caused by the vue component build. There were some bugs in the previous vite-plugin-dts build, for example, it could not properly generate the props for the component, for example, it set the type to any whenever a problem was encountered. I think the current scheme has been a relatively perfect package component library scheme.

qmhc/vite-plugin-dts#129

By the way,I hope you can try it locally, I hope you like it. One more thing, we should be careful about updating the dependent version to the latest one, as this may result in API incompatibilities between some frameworks or plug-ins, resulting in some errors.

@yzh990918 yzh990918 requested a review from zyyv as a code owner October 26, 2022 06:13
@netlify
Copy link

netlify bot commented Oct 26, 2022

Deploy Preview for idyllic-kitten-f7a0d0 ready!

Name Link
🔨 Latest commit 28c40d7
🔍 Latest deploy log https://app.netlify.com/sites/idyllic-kitten-f7a0d0/deploys/6358d01ed9be1d0008770a9b
😎 Deploy Preview https://deploy-preview-89--idyllic-kitten-f7a0d0.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 site settings.

@netlify
Copy link

netlify bot commented Oct 26, 2022

Deploy Preview for spectacular-wisp-fcff7b ready!

Name Link
🔨 Latest commit 28c40d7
🔍 Latest deploy log https://app.netlify.com/sites/spectacular-wisp-fcff7b/deploys/6358d01e5ce31300093a0b1f
😎 Deploy Preview https://deploy-preview-89--spectacular-wisp-fcff7b.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 site settings.

@yzh990918
Copy link
Member Author

production:
image

@zyyv zyyv merged commit aebae57 into onu-ui:main Oct 27, 2022
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.

None yet

2 participants