From 38b064a3b0f01d0230768156fe50b5211b002208 Mon Sep 17 00:00:00 2001 From: roger Date: Wed, 11 Jan 2023 17:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=AD=A6=E4=B9=A0=E8=84=9A?= =?UTF-8?q?=E6=89=8B=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../5.一个重要的内置关系.html | 65 ++++++++++++++++++- 19_单文件组件/App.vue | 19 ++++++ 19_单文件组件/School.vue | 49 ++++++++++++++ 19_单文件组件/Student.vue | 36 ++++++++++ 19_单文件组件/index.html | 12 ++++ 19_单文件组件/main.js | 10 +++ 6 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 19_单文件组件/App.vue create mode 100644 19_单文件组件/School.vue create mode 100644 19_单文件组件/Student.vue create mode 100644 19_单文件组件/index.html create mode 100644 19_单文件组件/main.js 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