This commit is contained in:
@@ -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
3
src/utils/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function hello(){
|
||||
return 'Hello'
|
||||
}
|
Reference in New Issue
Block a user