This commit is contained in:
xyf-mac
2021-04-02 21:50:55 +08:00
parent 0a4c732112
commit 6a957c34a1
36 changed files with 133 additions and 39 deletions

View File

@@ -0,0 +1,10 @@
import Vue from "vue";
import App from "./index.vue";
import "element-ui/lib/theme-chalk/index.css"
import ElementUI from "element-ui";
Vue.config.productionTip = false;
Vue.use(ElementUI, {size: "mini"});
new Vue({
render: (h) => h(App),
}).$mount("#app");

View File

@@ -0,0 +1,22 @@
<template>
<el-button @click="onClickTest">1111</el-button>
</template>
<script lang="ts">
import {Component, Vue} from "vue-property-decorator";
@Component({
components: {},
})
export default class Index extends Vue {
name: string = "index";
onClickTest() {
console.log(1);
}
}
</script>
<style scoped>
</style>