This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Self-Signed Certificate for using with VS Code Live Server | |
//Save both files in a location you will remember | |
1. create a private key | |
openssl genrsa -aes256 -out localhost.key 2048 | |
// you will be prompted to provide a password | |
//this will create localhost.key (call it whatever you like) | |
2. create the certificate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
computed: { | |
searchResult() { | |
let tempRecipes = this.recipes | |
if (this.searchValue != '' && this.searchValue) { | |
tempRecipes = tempRecipes.filter((item) => { | |
return item.title | |
.toUpperCase() | |
.includes(this.searchValue.toUpperCase()) | |
}) |