refactor: Tweak path alias of client
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { Directive } from 'vue';
|
||||
import { getScrollContainer, getScrollPosition } from '@/scripts/scroll';
|
||||
import { getScrollContainer, getScrollPosition } from '@client/scripts/scroll';
|
||||
|
||||
export default {
|
||||
mounted(src, binding, vn) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Particle from '@/components/particle.vue';
|
||||
import { popup } from '@/os';
|
||||
import Particle from '@client/components/particle.vue';
|
||||
import { popup } from '@client/os';
|
||||
|
||||
export default {
|
||||
mounted(el, binding, vn) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Directive, ref } from 'vue';
|
||||
import { isDeviceTouch } from '@/scripts/is-device-touch';
|
||||
import { popup } from '@/os';
|
||||
import { isDeviceTouch } from '@client/scripts/is-device-touch';
|
||||
import { popup } from '@client/os';
|
||||
|
||||
const start = isDeviceTouch ? 'touchstart' : 'mouseover';
|
||||
const end = isDeviceTouch ? 'touchend' : 'mouseleave';
|
||||
@ -30,7 +30,7 @@ export default {
|
||||
if (self.text == null) return;
|
||||
|
||||
const showing = ref(true);
|
||||
popup(import('@/components/ui/tooltip.vue'), {
|
||||
popup(import('@client/components/ui/tooltip.vue'), {
|
||||
showing,
|
||||
text: self.text,
|
||||
source: el
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { Directive, ref } from 'vue';
|
||||
import autobind from 'autobind-decorator';
|
||||
import { popup } from '@/os';
|
||||
import { popup } from '@client/os';
|
||||
|
||||
export class UserPreview {
|
||||
private el;
|
||||
@ -24,7 +24,7 @@ export class UserPreview {
|
||||
|
||||
const showing = ref(true);
|
||||
|
||||
popup(import('@/components/user-preview.vue'), {
|
||||
popup(import('@client/components/user-preview.vue'), {
|
||||
showing,
|
||||
q: this.user,
|
||||
source: this.el
|
||||
|
Reference in New Issue
Block a user