node版本说明:about.md

不适用pug
This commit is contained in:
许彦峰
2019-03-15 12:54:20 +08:00
parent e7adf25ccf
commit 33dcc6251b
19 changed files with 2651 additions and 2613 deletions

View File

@@ -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)
})

View File

@@ -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>