nuxt-content-assets 0.5.2 → 0.5.3
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/README.md +6 -2
- package/dist/module.json +4 -1
- package/dist/module.mjs +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# Nuxt Content Assets
|
|
2
2
|
|
|
3
|
-
> Enable locally-located assets in Nuxt Content
|
|
4
|
-
|
|
5
3
|
[![npm version][npm-version-src]][npm-version-href]
|
|
6
4
|
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
7
5
|
[![License][license-src]][license-href]
|
|
8
6
|
[![Nuxt][nuxt-src]][nuxt-href]
|
|
9
7
|
|
|
8
|
+
> Enable locally-located assets in Nuxt Content
|
|
9
|
+
|
|
10
|
+
<p align="center">
|
|
11
|
+
<img src="https://raw.githubusercontent.com/davestewart/nuxt-content-assets/main/demo/content/splash.png" alt="Nuxt Content Assets logo">
|
|
12
|
+
</p>
|
|
13
|
+
|
|
10
14
|
## Overview
|
|
11
15
|
|
|
12
16
|
Nuxt Content Assets enables locally-located assets in your [Nuxt Content](https://content.nuxtjs.org/) folder:
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -72,7 +72,10 @@ const resolve = createResolver(import.meta.url).resolve;
|
|
|
72
72
|
const module = defineNuxtModule({
|
|
73
73
|
meta: {
|
|
74
74
|
name: moduleName,
|
|
75
|
-
configKey: moduleKey
|
|
75
|
+
configKey: moduleKey,
|
|
76
|
+
compatibility: {
|
|
77
|
+
nuxt: "^3.0.0"
|
|
78
|
+
}
|
|
76
79
|
},
|
|
77
80
|
defaults: {
|
|
78
81
|
output: `${defaults.assetsDir}/${defaults.assetsPattern}`,
|