@movk/nuxt-docs 1.3.4 → 1.3.6
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/app/app.vue +1 -1
- package/modules/css.ts +3 -7
- package/package.json +5 -5
package/app/app.vue
CHANGED
|
@@ -55,7 +55,7 @@ provide('navigation', rootNavigation)
|
|
|
55
55
|
<Footer />
|
|
56
56
|
|
|
57
57
|
<ClientOnly>
|
|
58
|
-
<LazyUContentSearch :files="files" :navigation="rootNavigation" />
|
|
58
|
+
<LazyUContentSearch :files="files" :navigation="rootNavigation" :fuse="{ resultLimit: 1000 }"/>
|
|
59
59
|
</ClientOnly>
|
|
60
60
|
</template>
|
|
61
61
|
</div>
|
package/modules/css.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { addTemplate, createResolver, defineNuxtModule } from '@nuxt/kit'
|
|
2
2
|
import { joinURL } from 'ufo'
|
|
3
|
-
import { resolveModulePath } from 'exsolve'
|
|
4
3
|
|
|
5
4
|
export default defineNuxtModule({
|
|
6
5
|
meta: {
|
|
@@ -12,16 +11,13 @@ export default defineNuxtModule({
|
|
|
12
11
|
|
|
13
12
|
const layerDir = resolve('../app')
|
|
14
13
|
const contentDir = joinURL(dir, 'content')
|
|
15
|
-
const uiPath = resolveModulePath('@nuxt/ui', { from: import.meta.url, conditions: ['style'] })
|
|
16
|
-
const tailwindPath = resolveModulePath('tailwindcss', { from: import.meta.url, conditions: ['style'] })
|
|
17
|
-
const tailwindThemePath = tailwindPath.replace(/index\.css$/, 'theme.css')
|
|
18
14
|
|
|
19
15
|
const cssTemplate = addTemplate({
|
|
20
16
|
filename: 'movk-nuxt-docs.css',
|
|
21
17
|
getContents: () => {
|
|
22
|
-
return `@import
|
|
23
|
-
@import
|
|
24
|
-
@import
|
|
18
|
+
return `@import "tailwindcss";
|
|
19
|
+
@import "tailwindcss/theme.css" layer(theme) theme(static);
|
|
20
|
+
@import "@nuxt/ui";
|
|
25
21
|
|
|
26
22
|
@source "${contentDir.replace(/\\/g, '/')}/**/*";
|
|
27
23
|
@source "${layerDir.replace(/\\/g, '/')}/**/*";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movk/nuxt-docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "An elegant documentation theme for Nuxt, powered by Nuxt UI and Nuxt Content.",
|
|
7
7
|
"author": "YiXuan <mhaibaraai@gmail.com>",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@iconify-json/lucide": "^1.2.
|
|
30
|
+
"@iconify-json/lucide": "^1.2.74",
|
|
31
31
|
"@iconify-json/simple-icons": "^1.2.59",
|
|
32
|
-
"@iconify-json/vscode-icons": "^1.2.
|
|
33
|
-
"@movk/core": "^
|
|
32
|
+
"@iconify-json/vscode-icons": "^1.2.36",
|
|
33
|
+
"@movk/core": "^1.0.1",
|
|
34
34
|
"@nuxt/content": "^3.8.2",
|
|
35
35
|
"@nuxt/image": "^2.0.0",
|
|
36
36
|
"@nuxt/kit": "^4.2.1",
|
|
37
|
-
"@nuxt/ui": "^4.2.
|
|
37
|
+
"@nuxt/ui": "^4.2.1",
|
|
38
38
|
"@nuxtjs/seo": "^3.2.2",
|
|
39
39
|
"@vueuse/core": "^14.0.0",
|
|
40
40
|
"@vueuse/nuxt": "^14.0.0",
|