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
+
+ +
+ +
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 { +}