Skip to content

Commit 7529c09

Browse files
committed
docs: add more links to documentation in packages page
1 parent f30bb1b commit 7529c09

File tree

1 file changed

+40
-29
lines changed

1 file changed

+40
-29
lines changed

apps/svelte.dev/src/lib/packages-meta.ts

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,6 @@ const FEATURED: {
139139
{ name: 'typewriter-editor' }
140140
]
141141
},
142-
{
143-
title: 'Icons',
144-
packages: [
145-
{ name: '@iconify/tailwind4' },
146-
{ name: '@unocss/preset-icons' },
147-
{ name: '@lucide/svelte', description: 'Beautiful and consistent icons' },
148-
{ name: 'svelte-awesome', description: 'Font Awesome icons for Svelte' },
149-
{ name: 'phosphor-svelte', description: 'A clean and friendly icon family' }
150-
]
151-
},
152142
{
153143
title: 'Data visualization',
154144
packages: [
@@ -219,16 +209,6 @@ const FEATURED: {
219209
}
220210
]
221211
},
222-
{
223-
title: 'Testing and devtools',
224-
packages: [
225-
{ name: '@testing-library/svelte', description: 'Testing utilities for DOM interaction' },
226-
{ name: 'playwright', description: 'Browser automation for end-to-end testing' },
227-
{ name: 'vitest' },
228-
{ name: 'svelte-render-scan', description: 'Visual debugging tool' },
229-
{ name: 'svelte-inspect-value', description: 'Value inspector component' }
230-
]
231-
},
232212
{
233213
title: 'Internationalization (i18n)',
234214
packages: [
@@ -240,15 +220,6 @@ const FEATURED: {
240220
{ name: 'i18n-js' }
241221
]
242222
},
243-
{
244-
title: 'Bundler plugins',
245-
packages: [
246-
{ name: '@sveltejs/vite-plugin-svelte' },
247-
{ name: 'rollup-plugin-svelte' },
248-
{ name: 'svelte-loader', description: 'Compile Svelte components with webpack' },
249-
{ name: 'esbuild-svelte', description: 'Compile Svelte components with esbuild' }
250-
]
251-
},
252223
{
253224
title: 'Media',
254225
packages: [
@@ -321,6 +292,46 @@ const FEATURED: {
321292
}
322293
]
323294
},
295+
{
296+
title: 'Devtools',
297+
packages: [
298+
{ name: 'svelte-render-scan', description: 'Visual debugging tool' },
299+
{ name: 'svelte-inspect-value', description: 'Value inspector component' }
300+
]
301+
},
302+
{
303+
title: 'Icons',
304+
description:
305+
'Read the <a href="/docs/kit/icons">documentation about icons</a> when choosing how to handle icons in Svelte',
306+
packages: [
307+
{ name: '@iconify/tailwind4' },
308+
{ name: '@unocss/preset-icons' },
309+
{ name: '@lucide/svelte', description: 'Beautiful and consistent icons' },
310+
{ name: 'svelte-awesome', description: 'Font Awesome icons for Svelte' },
311+
{ name: 'phosphor-svelte', description: 'A clean and friendly icon family' }
312+
]
313+
},
314+
{
315+
title: 'Testing',
316+
description:
317+
'You might find the <a href="/docs/cli">Svelte CLI</a> and <a href="/docs/svelte/testing">documentation about testing</a> to be helpful during setup',
318+
packages: [
319+
{ name: '@testing-library/svelte', description: 'Testing utilities for DOM interaction' },
320+
{ name: 'playwright', description: 'Browser automation for end-to-end testing' },
321+
{ name: 'vitest' }
322+
]
323+
},
324+
{
325+
title: 'Bundler plugins',
326+
description:
327+
'<a href="https://svelte.dev/docs/kit">SvelteKit</a> comes with <a href="https://www.npmjs.com/package/@sveltejs/vite-plugin-svelte>@sveltejs/vite-plugin-svelte</a>, but you can also <a href="/docs/svelte/getting-started#Alternatives-to-SvelteKit">set things up on your own</a>',
328+
packages: [
329+
{ name: '@sveltejs/vite-plugin-svelte' },
330+
{ name: 'rollup-plugin-svelte' },
331+
{ name: 'svelte-loader', description: 'Compile Svelte components with webpack' },
332+
{ name: 'esbuild-svelte', description: 'Compile Svelte components with esbuild' }
333+
]
334+
},
324335
{
325336
title: 'Routing',
326337
description:

0 commit comments

Comments
 (0)