diff --git a/18_非单文件组件/5.一个重要的内置关系.html b/18_非单文件组件/5.一个重要的内置关系.html index 566549b..0da7b26 100644 --- a/18_非单文件组件/5.一个重要的内置关系.html +++ b/18_非单文件组件/5.一个重要的内置关系.html @@ -2,9 +2,72 @@ - Title + 一个重要的内置关系 + +
+ + +
+ \ No newline at end of file diff --git a/19_单文件组件/App.vue b/19_单文件组件/App.vue new file mode 100644 index 0000000..3c77f70 --- /dev/null +++ b/19_单文件组件/App.vue @@ -0,0 +1,19 @@ + + + diff --git a/19_单文件组件/School.vue b/19_单文件组件/School.vue new file mode 100644 index 0000000..261d5e2 --- /dev/null +++ b/19_单文件组件/School.vue @@ -0,0 +1,49 @@ + + + + + + + \ No newline at end of file diff --git a/19_单文件组件/Student.vue b/19_单文件组件/Student.vue new file mode 100644 index 0000000..4582454 --- /dev/null +++ b/19_单文件组件/Student.vue @@ -0,0 +1,36 @@ + + + + diff --git a/19_单文件组件/index.html b/19_单文件组件/index.html new file mode 100644 index 0000000..6150b15 --- /dev/null +++ b/19_单文件组件/index.html @@ -0,0 +1,12 @@ + + + + + 联系单文件组件 + + +
+ + + + \ No newline at end of file diff --git a/19_单文件组件/main.js b/19_单文件组件/main.js new file mode 100644 index 0000000..a2f863a --- /dev/null +++ b/19_单文件组件/main.js @@ -0,0 +1,10 @@ +import App from './App.vue' + +new Vue({ + el: "#root", + template: ` + `, + components: { + App + } +}) \ No newline at end of file