From b7eb2113008d5d41d607a1c88d8b596ac8017ed3 Mon Sep 17 00:00:00 2001 From: grgr Date: Mon, 30 May 2022 21:17:06 +0200 Subject: [PATCH] vue setup --- app.js | 0 components/CookbookForm.js | 43 ++++++++++++++++++++++++++++++++++++++ index.html | 41 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 app.js create mode 100644 components/CookbookForm.js create mode 100644 index.html diff --git a/app.js b/app.js new file mode 100644 index 0000000..e69de29 diff --git a/components/CookbookForm.js b/components/CookbookForm.js new file mode 100644 index 0000000..335693a --- /dev/null +++ b/components/CookbookForm.js @@ -0,0 +1,43 @@ +export default { + name : "CookbookForm", + setup(){ + const {ref}=Vue + + const title = ref('') + const description = ref('') + const nature = ref('') + const log = ref('') + const who = ref('') + + return{title,description,nature,log,who} + }, + template: ` +
+ + + + + + + + + + + + + + +
+ + +
+  title:{{title}}
+  description:{{description}}
+  nature:{{nature}}
+  log:{{log}}
+  who:{{who}}
+  
+ + + ` +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..def0d11 --- /dev/null +++ b/index.html @@ -0,0 +1,41 @@ + + + + + + + diffractive reading + + + + + + + + + + + + + + +
+ + + + + + + + \ No newline at end of file