-
Notifications
You must be signed in to change notification settings - Fork 93
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: Allow to import without dist
#6385
Conversation
Can/should we also remove import NcButton from '@nextcloud/vue/components/NcButton' |
Yes we can, I have no strong opinion on this. |
That's why I don't like extensions here, they are different from real (even while it is valid) |
Nice 👍 We should also update in the documentation
|
e5908c4
to
a174ce8
Compare
Done ✅ |
The individual import path of components, composables, directives, and functions was changed. The type of import is (e.g. `components`) is now lowercase and the `dist` will be omitted. Signed-off-by: Ferdinand Thiessen <[email protected]>
a174ce8
to
ca00486
Compare
The individual import path of components, composables, directives, and functions was changed.
The type of import is (e.g.
components
) is now lowercase and thedist
will be omitted.For example to import the
NcButton
component the path has changed:@nextcloud/vue/dist/Components/NcButton.js
.@nextcloud/vue/components/NcButton.js
The old import paths are still valid, but deprecated and will be removed in version 9.