mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-23 01:55:25 +00:00
调整
This commit is contained in:
10
source/src/options/index.ts
Normal file
10
source/src/options/index.ts
Normal 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");
|
22
source/src/options/index.vue
Normal file
22
source/src/options/index.vue
Normal 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>
|
Reference in New Issue
Block a user