You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The packaged Vue3 component props. ts cannot call the props. ts type properly
I don't know why the components encapsulated in dist compiled from docs can still be used normally
Uncaught SyntaxError: The requested module '/@fs/work/kylin/github/k-naiveui-pro/packages/k-naiveui-pro/dist/components/ProBaseForm/index.mjs' does not provide an export named 'ProBaseFormColumn' (at ProBaseForm.vue:3:28)
In reality, I is exporting ProBaseForm (ProBaseForm/props.ts)[https://github.com/InfernalAzazel/k-naiveui-pro/blob/main/packages/k-naiveui-pro/src/components/ProBaseForm/props.ts]
2.Compile dist and upload it to GitHub page(natural)
Logs
Uncaught SyntaxError: The requested module '/@fs/work/kylin/github/k-naiveui-pro/packages/k-naiveui-pro/dist/components/ProBaseForm/index.mjs' does not provide an export named 'ProBaseFormColumn' (at ProBaseForm.vue:3:28)
The text was updated successfully, but these errors were encountered:
Environment
os: Ubuntu 22.04
node: v20.17.0
vue: 3.4.37
unbuild: 2.0.0
Reproduction
git
docs
Describe the bug
This is my packaging configuration
Additional context
2.Compile dist and upload it to GitHub page(natural)
Logs
The text was updated successfully, but these errors were encountered: