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
This package now builds on top of `@nextcloud/vue` version 9 using Vue 3.
14
+
While this package uses Vue 3 it is also possible to use it within a Vue 2 project,
15
+
in this case the Vue dependency will not be shared as the dependency was moved from a peer dependency to a plain dependency.
16
+
This also means that if you are using Vue 2 you have to ensure you do not use bundler
17
+
configurations that enforce resolving Vue to the same version as this will fail now,
18
+
instead let the bundler choose the matching Vue version.
19
+
20
+
For example if using Webpack this will no longer work in **Vue 2** apps:
21
+
```js
22
+
resolve: {
23
+
alias: {
24
+
vue$:path.resolve('./node_modules/vue'),
25
+
},
26
+
}
27
+
```
28
+
29
+
For Vue 3 apps nothing changed, meaning the app and this library will share the same Vue dependency as long as the versions are compatible.
30
+
31
+
### Breaking
32
+
33
+
* This package now uses Vue 3 internally.
34
+
* The deprecated FilePicker component export was removed to allow using this library in Vue 2 and Vue 3 apps.
35
+
* The deprecated `Dialog.hide` method was removed, instead await the returned promise and wait for the user interaction.
36
+
37
+
### Changed
38
+
39
+
* refactor: do not use Node internals but @nextcloud/paths package [\#1752](https://github.com/nextcloud-libraries/nextcloud-dialogs/pull/1752)\([susnux](https://github.com/susnux)\)
0 commit comments