This file contains hidden or 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
| [ | |
| { | |
| "requestId": "0", | |
| "uri": "/api/recipes?filter[category.name][value]=Main%20course&page[limit]=4", | |
| "action": "view", | |
| "headers": { | |
| "Accept": "application/json", | |
| "Content-Type": "application/vnd.api+json" | |
| } | |
| }, |
This file contains hidden or 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
| --8008cc8c5062d2956217bc47b0e08169 | |
| Cache-Control: must-revalidate, no-cache, private | |
| Content-Id: <27c656e5c6f170d20649584828a7f7aa> | |
| Content-Language: en | |
| Content-Type: application/vnd.api+json | |
| Expires: Sun, 19 Nov 1978 05:00:00 GMT | |
| Status: 200 | |
| X-Content-Type-Options: nosniff | |
| X-Drupal-Cache: HIT | |
| X-Drupal-Dynamic-Cache: MISS |
This file contains hidden or 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
| --8008cc8c5062d2956217bc47b0e08169 | |
| Cache-Control: must-revalidate, no-cache, private | |
| Content-Id: <27c656e5c6f170d20649584828a7f7aa> | |
| Content-Language: en | |
| Content-Type: application/vnd.api+json | |
| Expires: Sun, 19 Nov 1978 05:00:00 GMT | |
| Status: 200 | |
| X-Content-Type-Options: nosniff | |
| X-Drupal-Cache: HIT | |
| X-Drupal-Dynamic-Cache: MISS |
This file contains hidden or 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
| <template> | |
| <h1>Hello world</h1> | |
| </template> |
This file contains hidden or 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
| <template> | |
| <section class="recipes"> | |
| <h1>Our latest recipes</h1> | |
| </section> | |
| </template> |
This file contains hidden or 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
| <template> | |
| <section class="recipes"> | |
| <h1>Our latest recipes</h1> | |
| <div v-for="recipe in recipes"> | |
| <h2> {{recipe.title}} </h2> | |
| <p> {{recipe.difficulty}} </p> | |
| <div v-if="recipe.image"> | |
| <img width="300px" :src="recipe.image.thumbnail.filename" /> | |
| </div> | |
| </div> |
This file contains hidden or 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
| { | |
| "name": "say my name", | |
| "scripts": { | |
| "start": "node index.js" | |
| } | |
| } |
This file contains hidden or 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
| import Vue from 'vue' | |
| import Difficulty from '~/components/Difficulty' | |
| /** | |
| * An example unit test | |
| */ | |
| describe('Difficulty.vue', () => { | |
| it('Should have class "tag is-primary" when receiving "easy" difficulty', () => { | |
| const Ctor = Vue.extend(Difficulty) |