refactor: Use path alias
This commit is contained in:
parent
d6e23b803b
commit
c74fe3c6e2
391 changed files with 557 additions and 557 deletions
|
@ -6,7 +6,7 @@
|
|||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import * as os from '@client/os';
|
||||
import parseAcct from '../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
|
||||
export default defineComponent({
|
||||
created() {
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
import { defineComponent } from 'vue';
|
||||
import { faPlus, faUsers, faSearch, faBookmark, faMicrophoneSlash, faExclamationCircle } from '@fortawesome/free-solid-svg-icons';
|
||||
import { faSnowflake, faBookmark as farBookmark } from '@fortawesome/free-regular-svg-icons';
|
||||
import parseAcct from '../../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
import MkInput from '@client/components/ui/input.vue';
|
||||
import MkSelect from '@client/components/ui/select.vue';
|
||||
|
|
|
@ -258,7 +258,7 @@ import MkTextarea from '@client/components/ui/textarea.vue';
|
|||
import MkSwitch from '@client/components/ui/switch.vue';
|
||||
import MkInfo from '@client/components/ui/info.vue';
|
||||
import { url } from '@client/config';
|
||||
import getAcct from '../../../misc/acct/render';
|
||||
import getAcct from '@/misc/acct/render';
|
||||
import * as os from '@client/os';
|
||||
import { fetchInstance } from '@client/instance';
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
import { defineComponent } from 'vue';
|
||||
import { faPlus, faUsers, faSearch, faBookmark, faMicrophoneSlash } from '@fortawesome/free-solid-svg-icons';
|
||||
import { faSnowflake, faBookmark as farBookmark } from '@fortawesome/free-regular-svg-icons';
|
||||
import parseAcct from '../../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
import MkInput from '@client/components/ui/input.vue';
|
||||
import MkSelect from '@client/components/ui/select.vue';
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<script lang="ts">
|
||||
import { defineAsyncComponent, defineComponent } from 'vue';
|
||||
import { faUser, faUsers, faComments, faPlus } from '@fortawesome/free-solid-svg-icons';
|
||||
import getAcct from '../../../misc/acct/render';
|
||||
import getAcct from '@/misc/acct/render';
|
||||
import MkButton from '@client/components/ui/button.vue';
|
||||
import { acct } from '../../filters/user';
|
||||
import * as os from '@client/os';
|
||||
|
|
|
@ -26,7 +26,7 @@ import { defineComponent, defineAsyncComponent } from 'vue';
|
|||
import { faPaperPlane, faPhotoVideo, faLaughSquint } from '@fortawesome/free-solid-svg-icons';
|
||||
import insertTextAtCursor from 'insert-text-at-cursor';
|
||||
import * as autosize from 'autosize';
|
||||
import { formatTimeString } from '../../../misc/format-time-string';
|
||||
import { formatTimeString } from '@/misc/format-time-string';
|
||||
import { selectFile } from '@client/scripts/select-file';
|
||||
import * as os from '@client/os';
|
||||
import { Autocomplete } from '@client/scripts/autocomplete';
|
||||
|
|
|
@ -42,7 +42,7 @@ import { faWindowMaximize } from '@fortawesome/free-regular-svg-icons';
|
|||
import XList from '@client/components/date-separated-list.vue';
|
||||
import XMessage from './messaging-room.message.vue';
|
||||
import XForm from './messaging-room.form.vue';
|
||||
import parseAcct from '../../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import { isBottom, onScrollBottom, scroll } from '@client/scripts/scroll';
|
||||
import * as os from '@client/os';
|
||||
import { popout } from '@client/scripts/popout';
|
||||
|
|
|
@ -53,7 +53,7 @@ import MkInput from '@client/components/ui/input.vue';
|
|||
import MkTextarea from '@client/components/ui/textarea.vue';
|
||||
import MkSelect from '@client/components/ui/select.vue';
|
||||
import MkSwitch from '@client/components/ui/switch.vue';
|
||||
import getAcct from '../../../misc/acct/render';
|
||||
import getAcct from '@/misc/acct/render';
|
||||
import * as os from '@client/os';
|
||||
|
||||
export default defineComponent({
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<script lang="ts">
|
||||
import { computed, defineComponent } from 'vue';
|
||||
import { Room } from '@client/scripts/room/room';
|
||||
import parseAcct from '../../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import XPreview from './preview.vue';
|
||||
const storeItems = require('@client/scripts/room/furnitures.json5');
|
||||
import { faBoxOpen, faUndo, faArrowsAlt, faBan, faBroom } from '@fortawesome/free-solid-svg-icons';
|
||||
|
|
|
@ -228,7 +228,7 @@ import MkFolder from '@client/components/ui/folder.vue';
|
|||
import MkRemoteCaution from '@client/components/remote-caution.vue';
|
||||
import MkTab from '@client/components/tab.vue';
|
||||
import Progress from '@client/scripts/loading';
|
||||
import parseAcct from '../../../misc/acct/parse';
|
||||
import parseAcct from '@/misc/acct/parse';
|
||||
import { getScrollPosition } from '@client/scripts/scroll';
|
||||
import { getUserMenu } from '@client/scripts/get-user-menu';
|
||||
import number from '../../filters/number';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue