diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/App.vue b/20_脚手架/vue_code/10.src_todolist自定义事件/App.vue new file mode 100644 index 0000000..2c521e4 --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/App.vue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/assets/logo.png b/20_脚手架/vue_code/10.src_todolist自定义事件/assets/logo.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/20_脚手架/vue_code/10.src_todolist自定义事件/assets/logo.png differ diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoBottom.vue b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoBottom.vue new file mode 100644 index 0000000..b4de571 --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoBottom.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoHeader.vue b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoHeader.vue new file mode 100644 index 0000000..d4a857c --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoHeader.vue @@ -0,0 +1,49 @@ + + + + + \ No newline at end of file diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoItem.vue b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoItem.vue new file mode 100644 index 0000000..b565bdc --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoItem.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoList.vue b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoList.vue new file mode 100644 index 0000000..4d241f2 --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/components/TodoList.vue @@ -0,0 +1,41 @@ + + + + + \ No newline at end of file diff --git a/20_脚手架/vue_code/10.src_todolist自定义事件/main.js b/20_脚手架/vue_code/10.src_todolist自定义事件/main.js new file mode 100644 index 0000000..30ef712 --- /dev/null +++ b/20_脚手架/vue_code/10.src_todolist自定义事件/main.js @@ -0,0 +1,16 @@ +// 引入Vue +import Vue from "vue"; +// 引入App +import App from "./App"; + +// 设置Vue +Vue.config.productionTip = false + + +// 实例化Vue +new Vue({ + components: { + App + }, + render: h => h(App) +}).$mount('#app') diff --git a/20_脚手架/vue_code/src/App.vue b/20_脚手架/vue_code/src/App.vue index 73ea2fe..2c521e4 100644 --- a/20_脚手架/vue_code/src/App.vue +++ b/20_脚手架/vue_code/src/App.vue @@ -1,64 +1,118 @@ \ No newline at end of file diff --git a/20_脚手架/vue_code/src/components/School.vue b/20_脚手架/vue_code/src/components/School.vue deleted file mode 100644 index 6ccc0ae..0000000 --- a/20_脚手架/vue_code/src/components/School.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - diff --git a/20_脚手架/vue_code/src/components/Student.vue b/20_脚手架/vue_code/src/components/Student.vue deleted file mode 100644 index f6ca56a..0000000 --- a/20_脚手架/vue_code/src/components/Student.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -