refactor: Use path alias

This commit is contained in:
syuilo
2021-03-23 17:43:07 +09:00
parent d6e23b803b
commit c74fe3c6e2
391 changed files with 557 additions and 557 deletions

View File

@ -1,4 +1,4 @@
import parseAcct from '../../misc/acct/parse';
import parseAcct from '@/misc/acct/parse';
import { host as localHost } from '@client/config';
export async function genSearchQuery(v: any, q: string) {

View File

@ -3,7 +3,7 @@ import { faSnowflake, faEnvelope } from '@fortawesome/free-regular-svg-icons';
import { i18n } from '@client/i18n';
import copyToClipboard from '@client/scripts/copy-to-clipboard';
import { host } from '@client/config';
import getAcct from '../../misc/acct/render';
import getAcct from '@/misc/acct/render';
import * as os from '@client/os';
import { userActions } from '@client/store';
import { router } from '@client/router';