fix(types): `@` symbol not resolving on build files

pull/247/head
Kia King Ishii 5 years ago
parent 74f5adafcd
commit fa50e8cc4a

@ -65,6 +65,7 @@
"dependencies": {
"@docsearch/css": "^1.0.0-alpha.28",
"@docsearch/js": "^1.0.0-alpha.28",
"@types/markdown-it": "^10.0.2",
"@vitejs/plugin-vue": "^1.1.4",
"@vue/compiler-sfc": "^3.0.5",
"@vue/server-renderer": "^3.0.5",
@ -97,7 +98,6 @@
"@types/koa": "^2.11.7",
"@types/koa-static": "^4.0.1",
"@types/lru-cache": "^5.1.0",
"@types/markdown-it": "^10.0.2",
"@types/node": "^14.14.25",
"@types/postcss-load-config": "^2.0.1",
"chokidar": "^3.5.1",

@ -1,5 +1,5 @@
import { Ref, computed } from 'vue'
import { PageData } from '/@types/shared'
import { PageData } from '../../../../types/shared'
import { Route, useRoute } from '../router'
export type PageDataRef = Ref<PageData>

@ -1,5 +1,5 @@
import serialized from '@siteData'
import { SiteData } from '/@types/shared'
import { SiteData } from '../../../../types/shared'
import { Ref, ref, readonly } from 'vue'
export type SiteDataRef<T = any> = Ref<SiteData<T>>

@ -1,4 +1,4 @@
import { SiteData } from '/@types/shared'
import { SiteData } from '../../../types/shared'
const inBrowser = typeof window !== 'undefined'

@ -1,10 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"/@types/*": ["../../types/*"]
}
"baseUrl": "."
},
"include": [
".",

Loading…
Cancel
Save