mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 12:40:21 +03:00
feat: добавить серверную генерацию спрайтов
This commit is contained in:
@@ -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 + Vite</h1>
|
||||
<IconsIcon
|
||||
<AppIcon
|
||||
data-testid="icon"
|
||||
data-app="nuxt-vite"
|
||||
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-vite-remote"
|
||||
icon="check"
|
||||
aria-label="Remote check icon"
|
||||
width="64"
|
||||
height="64"
|
||||
style="--icon-color-1: #16a34a"
|
||||
/>
|
||||
<SpriteViewer />
|
||||
</main>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user