From 9c530e7bb87a88c030e6239424e134eaee989740 Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Mon, 30 May 2022 21:46:15 +0200 Subject: [PATCH] logs --- components/CookbookForm.js | 98 ++++++++++++++++++++++---------------- index.html | 65 ++++++++++--------------- style.css | 2 + 3 files changed, 84 insertions(+), 81 deletions(-) create mode 100644 style.css diff --git a/components/CookbookForm.js b/components/CookbookForm.js index 335693a..b6c2f5c 100644 --- a/components/CookbookForm.js +++ b/components/CookbookForm.js @@ -1,43 +1,57 @@ 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 + name: "CookbookForm", + setup() { + const { ref } = Vue; + + const title = ref(""); + const description = ref(""); + const nature = ref(""); + const logs = ref([""]); + const who = ref(""); + + return { title, description, nature, logs, who }; + }, + template: ` + +
+ + + + + + + + + + + + + + + + + +
+ +
+
Title
+
{{title}}
+ +
Description
+
{{description}}
+ +
Nature
+
{{nature}}
+ +
Log
+
+
    +
  • {{log}}
  • +
+
+ +
Who
+
{{who}}
+
+ `, +}; diff --git a/index.html b/index.html index def0d11..bf33126 100644 --- a/index.html +++ b/index.html @@ -1,41 +1,28 @@ - - - - - diffractive reading - - - - - - - - - - - - - - -
- - - - - - - - \ No newline at end of file + + + + + + diffractive reading + + + + +
+ + + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..6fbbd8d --- /dev/null +++ b/style.css @@ -0,0 +1,2 @@ +.recipe { +}