nuxt-directus-sdk 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/package.json +2 -2
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { createDirectus, authentication, rest, readCollections, readFields, read
|
|
|
5
5
|
import { pascalCase } from 'change-case';
|
|
6
6
|
|
|
7
7
|
const name = "nuxt-directus-sdk";
|
|
8
|
-
const version = "0.0.
|
|
8
|
+
const version = "0.0.16";
|
|
9
9
|
|
|
10
10
|
function warn(message) {
|
|
11
11
|
useLogger("nuxt-directus-sdk").warn(message);
|
|
@@ -184,7 +184,8 @@ const module = defineNuxtModule({
|
|
|
184
184
|
await installModule("@nuxt/image", {
|
|
185
185
|
provider: "directus",
|
|
186
186
|
directus: {
|
|
187
|
-
|
|
187
|
+
// TODO: might need to remove any trailing slashes before assets?
|
|
188
|
+
baseURL: `${options.url}assets/`
|
|
188
189
|
}
|
|
189
190
|
});
|
|
190
191
|
addPlugin(resolver.resolve("./runtime/plugin"));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-directus-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.16",
|
|
5
5
|
"description": "A nuxt module that uses the directus SDK",
|
|
6
6
|
"author": "Matthew Rollinson <matt@rolley.io>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,4 +58,4 @@
|
|
|
58
58
|
"unbuild": {
|
|
59
59
|
"failOnWarn": false
|
|
60
60
|
}
|
|
61
|
-
}
|
|
61
|
+
}
|