fix: 统一使用绝对路径别名“~”并加入jsconfig方便编辑器跳转

Fixes #510
This commit is contained in:
AnNingUI
2025-08-12 14:45:55 +08:00
parent 8b12402e89
commit 80ecb1620d
27 changed files with 153 additions and 134 deletions

View File

@@ -8,14 +8,14 @@
</template>
<script>
import { ref, onMounted, watch, onUnmounted, useId } from 'vue'
import { themeState } from '../utils/theme'
import { onMounted, onUnmounted, ref, useId, watch } from 'vue'
import { clearVditorStorage } from '~/utils/clearVditorStorage'
import { themeState } from '~/utils/theme'
import {
createVditor,
getEditorTheme as getEditorThemeUtil,
getPreviewTheme as getPreviewThemeUtil,
} from '../utils/vditor'
import { clearVditorStorage } from '../utils/clearVditorStorage'
} from '~/utils/vditor'
export default {
name: 'PostEditor',