mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-10-25 10:05:25 +00:00
node版本说明:about.md
不适用pug
This commit is contained in:
@@ -7,6 +7,6 @@ Vue.config.productionTip = false
|
||||
Vue.use(ElementUI)
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#root',
|
||||
render: h => h(root)
|
||||
el: '#root',
|
||||
render: h => h(root)
|
||||
})
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
<template lang="pug">
|
||||
div
|
||||
el-button(type="primary" @click="tab") New tab
|
||||
<template>
|
||||
<div>
|
||||
666
|
||||
<el-button type="primary" @click="tab">test</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data: () => ({
|
||||
}),
|
||||
computed: { },
|
||||
created () { },
|
||||
mounted () { },
|
||||
methods: {
|
||||
tab () {
|
||||
chrome.tabs.create({ url: 'pages/app.html' })
|
||||
}
|
||||
export default {
|
||||
data: () => ({}),
|
||||
computed: {},
|
||||
created() {
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
tab() {
|
||||
chrome.tabs.create({url: 'pages/app.html'})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss">
|
||||
div {
|
||||
color: blue
|
||||
}
|
||||
div {
|
||||
color: blue
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user