The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

183223 (1) [Avatar] Offline
#1
I'm going through this book but the code in the repo doesn't reflect what is being described in the book. For example, in chapter 2 it says to run `node build/dev-server.js`, but there isn't even a 'build' directory in the project. I thought this book would be great but I'm totally confused.
bigtunacan (16) [Avatar] Offline
#2
I've noticed the same thing. I opened a related topic https://forums.manning.com/posts/list/43870.page. Also, the MEAP latest published date on Manning.com doesn't match the date Edd provided here https://forums.manning.com/posts/list/43840.page.

I think when the book was started Edd was using vue-cli 2 series, but then converted over to vue-cli 3 series and things on the book and code aren't quite matching up right now as a result.
Edd Yerburgh (42) [Avatar] Offline
#3
Sorry, there was a miscommunication. The code should now be in sync with the book
JayNewlin (5) [Avatar] Offline
#4
Edd: I'm sorry, but I disagree. I've checked out the code from GitHub, and I've searched on the repo:

1) There is no chapter-6 branch.
2) ItemList.vue and ItemList.spec.js don't exist anywhere in the repo.

There may be other issues that I haven't discovered, but these are the most obvious at this point.

Thanks!
JayNewlin (5) [Avatar] Offline
#5
Fwiw: There's no chapter-3 branch, either. I created one as code would be at the end of Chapter 3, if you're interested.
Edd Yerburgh (42) [Avatar] Offline
#6
Hi Jay, sorry for these issues.

The GitHub repo includes a chapter-3 branch—https://github.com/eddyerburgh/vue-hackernews/tree/chapter-3/src

Chapter 6 does not have a corresponding branch, since it's an instructional chapter.

Hopefully this clears things up
JayNewlin (5) [Avatar] Offline
#7
Thanks, Edd! I figured out that I was checking it out incorrectly. I had reacted about the chapter-6 because it's referenced on page 117 (end of section 4.1) in the INFO section.