fix: px
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
taolin 2022-07-22 16:21:35 +08:00
parent 71426b5734
commit 7c701e6ca8
4 changed files with 17 additions and 2 deletions

View File

@ -1,6 +1,11 @@
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({});
import { hello } from "@/utils/index"
export default defineComponent({
mounted() {
hello()
}
});
</script>
<template>

3
src/utils/index.ts Normal file
View File

@ -0,0 +1,3 @@
export function hello(){
return 'Hello'
}

View File

@ -11,7 +11,13 @@
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"skipLibCheck": true
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
],
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]

View File

@ -1,3 +1,4 @@
// @ts-nocheck
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import path from "path";