2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

Use TypeScript in Vue component demo

This commit is contained in:
Vjacheslav Trushkin 2022-01-03 18:58:27 +02:00
parent 297d6f6648
commit de6941c069
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
</div>
</template>
<script>
<script lang="ts">
import { Icon } from '@iconify/vue/dist/offline';
import checkedIcon from '@iconify-icons/bx/bx-checkbox-checked';
import uncheckedIcon from '@iconify-icons/bx/bx-checkbox';

View File

@ -14,7 +14,7 @@
</section>
</template>
<script>
<script lang="ts">
import { Icon as OfflineIcon } from '@iconify/vue/dist/offline';
import { Icon as FullIcon } from '@iconify/vue';

View File

@ -11,7 +11,7 @@
</section>
</template>
<script>
<script lang="ts">
import { Icon } from '@iconify/vue';
export default {

View File

@ -20,7 +20,7 @@
</section>
</template>
<script>
<script lang="ts">
import { Icon } from '@iconify/vue';
import demoIcon from '@iconify-icons/dashicons/info-outline';
import alertIcon from '@iconify-icons/bx/bx-error';

View File

@ -20,7 +20,7 @@
</section>
</template>
<script>
<script lang="ts">
import { Icon } from '@iconify/vue/dist/offline';
import demoIcon from '@iconify-icons/dashicons/info-outline';
import alertIcon from '@iconify-icons/bx/bx-error';