Use FontAwesome as web font instead of vue component (#7469)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
</MkInput>
|
||||
<MkInput v-model:value="password" type="password">
|
||||
<span>{{ $ts.password }}</span>
|
||||
<template #prefix><Fa :icon="faLock"/></template>
|
||||
<template #prefix><i class="fas fa-lock"></i></template>
|
||||
</MkInput>
|
||||
<footer>
|
||||
<MkButton primary type="submit" :disabled="submitting">{{ submitting ? $ts.processing : $ts.done }}<MkEllipsis v-if="submitting"/></MkButton>
|
||||
@ -21,7 +21,6 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { faLock } from '@fortawesome/free-solid-svg-icons';
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
import MkInput from '@client/components/ui/input.vue';
|
||||
import { host } from '@client/config';
|
||||
@ -40,7 +39,6 @@ export default defineComponent({
|
||||
password: '',
|
||||
submitting: false,
|
||||
host,
|
||||
faLock
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user