Develop #8
49
README.md
49
README.md
@@ -14,33 +14,34 @@ You've been given the task of creating a simple application with create/read/del
|
|||||||
- [x] Create a branch off of master, commit all your work to this new branch.
|
- [x] Create a branch off of master, commit all your work to this new branch.
|
||||||
- [ ] When you are finished, open a PR to master (but do not merge it). In the PR description, copy, paste and answer the following:
|
- [ ] When you are finished, open a PR to master (but do not merge it). In the PR description, copy, paste and answer the following:
|
||||||
|
|
||||||
```
|
---
|
||||||
### Your name
|
### Your name
|
||||||
|
Noé Viricel
|
||||||
Noé Viricel
|
|
||||||
|
|
||||||
### What was challenging?
|
### What was challenging?
|
||||||
|
Cypress.io
|
||||||
|
|
||||||
Cypress.io
|
### What did you enjoy doing?
|
||||||
|
...
|
||||||
|
|
||||||
### What did you enjoy doing?
|
### If you had more time, what would you improve/do differently?
|
||||||
|
#### Components Lazy-Loading
|
||||||
|
*(Prefetching auto-handled since Vue CLI 3+)*
|
||||||
|
- [x] Dynamic imports (works for most browsers).
|
||||||
|
- [ ] Improve browser support by using Async components, it would offer more control over Component's loading / error states.
|
||||||
|
|
||||||
|
|
||||||
|
- [] Use AntD (or any CSS Framework)
|
||||||
|
- [] CSS Module
|
||||||
### If you had more time, what would you improve/do differently?
|
- [] Form Validations
|
||||||
|
- [] Page Transitions
|
||||||
- Use AntD (or any CSS Framework)
|
- [] Loading State
|
||||||
- CSS Module
|
- [] Setup environment variables
|
||||||
- Form Validations
|
- [] Setup API proxy with Axios
|
||||||
- Page Transitions
|
- [] More Accessibility
|
||||||
- Loading State
|
- [] Image Caching & Lazy Loading
|
||||||
- Setup environment variables
|
- [] Inject axios globally as $http
|
||||||
- Setup API proxy with Axios
|
- [] More test
|
||||||
- More Accessibility
|
|
||||||
- Component Lazy Loading
|
|
||||||
- Image Caching & Lazy Loading
|
|
||||||
- Inject axios globally as $http
|
|
||||||
- More test
|
|
||||||
|
|
||||||
### How much time (more or less) it took you to complete the task?
|
### How much time (more or less) it took you to complete the task?
|
||||||
|
|
||||||
@@ -49,7 +50,7 @@ You've been given the task of creating a simple application with create/read/del
|
|||||||
### What do you think about the task itself? (Was it a good experience? If not why?)
|
### What do you think about the task itself? (Was it a good experience? If not why?)
|
||||||
|
|
||||||
### Summary in a gif
|
### Summary in a gif
|
||||||
```
|
|
||||||
- [ ] Invite us to your repository: @chayaline, @emilyrosina, @adamwardecki, @dangzo, @thomas-lhuillier, @SavanovicN & @Sergeon
|
- [ ] Invite us to your repository: @chayaline, @emilyrosina, @adamwardecki, @dangzo, @thomas-lhuillier, @SavanovicN & @Sergeon
|
||||||
|
|
||||||
## The specification
|
## The specification
|
||||||
|
|||||||
@@ -13,14 +13,13 @@
|
|||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
import Header from "@/components/Header";
|
import Header from "@/components/Header";
|
||||||
import AddFruit from "@/components/AddFruit";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
components: {
|
components: {
|
||||||
Footer,
|
Footer,
|
||||||
Header,
|
Header,
|
||||||
AddFruit
|
AddFruit: () => import("@/components/AddFruit")
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["modalIsOpen"])
|
...mapState(["modalIsOpen"])
|
||||||
|
|||||||
@@ -30,12 +30,11 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import ImageSkeleton from "./ImageSkeleton";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ImageUnsplash",
|
name: "ImageUnsplash",
|
||||||
components: {
|
components: {
|
||||||
ImageSkeleton
|
ImageSkeleton: () => import("./ImageSkeleton")
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
containerClass: {
|
containerClass: {
|
||||||
|
|||||||
@@ -15,13 +15,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import GridItemSkeleton from "./GridItemSkeleton";
|
import GridItemSkeleton from "./GridItemSkeleton";
|
||||||
import GridItem from "./GridItem";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Grid",
|
name: "Grid",
|
||||||
components: {
|
components: {
|
||||||
GridItemSkeleton,
|
GridItemSkeleton,
|
||||||
GridItem
|
GridItem: () => import("./GridItem")
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
data: Array
|
data: Array
|
||||||
|
|||||||
@@ -21,11 +21,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import DeleteItem from "./DeleteItem";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "GridItem",
|
name: "GridItem",
|
||||||
components: { DeleteItem },
|
components: { DeleteItem: () => import("./DeleteItem") },
|
||||||
props: {
|
props: {
|
||||||
item: Object
|
item: Object
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,11 +26,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import DeleteItem from "@/components/Grid/DeleteItem";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "FruitDetails",
|
name: "FruitDetails",
|
||||||
components: { DeleteItem },
|
components: { DeleteItem: () => import("@/components/Grid/DeleteItem") },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
modalOpen: true
|
modalOpen: true
|
||||||
|
|||||||
@@ -11,11 +11,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import Grid from "@/components/Grid/Grid";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Fruits",
|
name: "Fruits",
|
||||||
components: { Grid },
|
components: { Grid: () => import("@/components/Grid/Grid") },
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(["fruits"])
|
...mapState(["fruits"])
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user