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:
parent
297d6f6648
commit
de6941c069
@ -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';
|
||||
|
@ -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';
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { Icon } from '@iconify/vue';
|
||||
|
||||
export default {
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user