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

Some small corrections - Chapters 2 - 4 #2

Open
AndoniZubimendi opened this issue Feb 5, 2023 · 0 comments
Open

Some small corrections - Chapters 2 - 4 #2

AndoniZubimendi opened this issue Feb 5, 2023 · 0 comments

Comments

@AndoniZubimendi
Copy link

Hi!

I have bought this book some time ago, but now I find the time to read and try the project. I have reached chapter 4 so far.

Here are some comments of what I think are errors. It is based on the book published on 2023-01-30, PDF file.

Interesting reading so far. Congrats.

Chapter 2

Section: App.vue - Page 14

Before the closing tag, the closing div tag is missing the ">" character </div

Chapter 3

Section: Interface ItemInterface - Page 19/20

The image on page 19 show 2 files index.ts and item.iterface.ts (on src/models/items subdirectory).
Only item.interface.ts is described.

The index.ts should have (from the repo): export * from './item.interface';

Chapter 4

Section: ItemsList Component - Page 28

In the App.vue code:

// mock some data:
const items = reactive([ // <-- now items array will be reactive

The reactive generic is missing:
const items = reactive<ItemInterface[]>( // <-- now items array will be reactive

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