Skip to content

Commit 3ca4abb

Browse files
committed
chore: fix docs build
1 parent 726351a commit 3ca4abb

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎docs/content/4.ecosystem.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ packages:
141141
author: devframes
142142
url: /add-ons/devframes/assets
143143
category: Devframes
144-
icon: i-ph:images-duotone
144+
icon: i-ph:folder-notch-open-duotone
145145
official: true
146146
- name: "@devframes/plugin-messages"
147147
description: Browses, filters and dismisses the hub message feed

‎docs/content/5.add-ons/1.devframes/8.assets.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Assets'
33
navigation:
4-
icon: i-ph:image-square-duotone
4+
icon: i-ph:folder-notch-open-duotone
55
description: 'Browse, preview, and manage files in a directory, porting Nuxt DevTools'' Assets tab.'
66
---
77

‎docs/nuxt.config.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ export default defineNuxtConfig({
3131
},
3232
},
3333

34+
// Nuxt DevTools v4 imports the workspace `devframe`, which is unbuilt in
35+
// `docs:build` (Vercel), so keep it dev-only.
36+
devtools: { enabled: false },
37+
3438
// Dev only: mount the devframes into Nuxt DevTools. The imports are lazy,
3539
// so `docs:build` needs no built workspace packages.
3640
$development: {
41+
devtools: { enabled: true },
3742
// DevTools v4 sets `noExternals` to an array when it is unset. Nitro 2 reads
3843
// any truthy value as "inline everything" and fails on `playwright-core`.
3944
nitro: { noExternals: false },

‎plugins/assets/app/app/components/Toolbar.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const viewTabs = [
3535
<template>
3636
<LayoutToolbar :glass="false" class="h-nav">
3737
<span class="flex shrink-0 select-none items-center gap-1.5 text-sm font-semibold">
38-
<span class="i-ph-image-square-duotone text-base color-active" />
38+
<span class="i-ph-folder-notch-open-duotone text-base color-active" />
3939
<span>Assets</span>
4040
</span>
4141
<DisplayBadge v-if="isStatic" text="static" class="text-xs" />

‎plugins/assets/src/node/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function createAssetsDevframe(options: AssetsDevframeOptions = {}): Devfr
118118
importMetaUrl: import.meta.url,
119119
homepage: pkg.homepage,
120120
description: pkg.description,
121-
icon: options.icon ?? 'ph:image-square-duotone',
121+
icon: options.icon ?? 'ph:folder-notch-open-duotone',
122122
basePath: options.basePath,
123123
capabilities: { build: options.build ?? false },
124124
clientAssets: distDir,

0 commit comments

Comments
 (0)