Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on pag. 245 (Spanish) #35

Open
abkrim opened this issue Feb 28, 2018 · 0 comments
Open

Error on pag. 245 (Spanish) #35

abkrim opened this issue Feb 28, 2018 · 0 comments

Comments

@abkrim
Copy link

abkrim commented Feb 28, 2018

Hi.

On this chapter there're too many issues for UX of beginners.

Put examples and images such pag. 243, when whit code write to this line, is impossible compiling source without critical error. (Components, routes, etc)

But on page 245, error is:

const routes = [
  // other routes
 {
    path: ':id/edit',
    name: 'stories.edit',
    component: StoriesEdit
 }
...
]

Must be

const routes = [
  // other routes
  ...
  //Child rutes to stories
  path: '/stories',
      component: StoriesPage,
      children:  {
        //other child routes
       {
         path: ':id/edit',
         name: 'stories.edit',
         component: StoriesEdit
       }
...
]

Also on this chapter on pag. 246 speak about id on store.js. But not show changes.

One tiem more, I think best experience for user, a example or git for see code.

Pasaje de: Kostas Maniatis, Alex Kyriakidis y Styde.net. “La Elegancia de Vue.js 2”. iBooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant