Adds basic vuejs functionnality, implements RecipeCategory custom field

This commit is contained in:
2019-02-01 15:58:58 +01:00
parent 66514eb192
commit 616f8095e2
5 changed files with 112 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ fn main() {
println!("Here are {} recipes :", result.len());
for rec in result {
println!("*************\n{}", rec.title);
println!("*************\n{}\n({:?})", rec.title, rec.category);
println!("-------------\n");
println!("{}", rec.ingredients);
}