feat: добавить серверную генерацию спрайтов

This commit is contained in:
2026-07-16 09:14:11 +03:00
parent e9ae91815a
commit 57342fae4e
379 changed files with 3108 additions and 655 deletions

View File

@@ -1,11 +1,12 @@
<script setup>
import { IconsIcon } from '../src/sprite/index.js'
import { AppIcon } from '../src/app-icons/index.js'
import { RemoteAppIcon } from '../src/remote-app-icons/index.js'
</script>
<template>
<main>
<h1>Nuxt + Webpack</h1>
<IconsIcon
<AppIcon
data-testid="icon"
data-app="nuxt-webpack"
icon="check"
@@ -14,6 +15,15 @@ import { IconsIcon } from '../src/sprite/index.js'
height="64"
style="--icon-color-1: #16a34a"
/>
<RemoteAppIcon
data-testid="remote-icon"
data-app="nuxt-webpack-remote"
icon="check"
aria-label="Remote check icon"
width="64"
height="64"
style="--icon-color-1: #16a34a"
/>
<SpriteViewer />
</main>
</template>