Skip to content
项目

ErikCH/VuejsInActionCode

在 GitHub 查看

关于

This is the Code For the Vue.js In Action Book!

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Vue.js in Action

Complete files for the Vue.js in Action book!

Grab the book at https://www.manning.com/books/vue-js-in-action

Feel free to submit a PR if you find any problem with any of the code examples in the book!

FAQ

Can I run any code in any of the chapters?

No, the code you see in each folder may or may not be runnable. In the book I have snippets of code. You must combine the snippets of code into a runnable app. However, I have included the completed apps in each folder as well.

Do I need Vue CLI?

Yes and no. At the start of the book all the examples are single HTML pages that link out to the Vue.js CDN. In later chapters I converted over my Pet Store app to a Vue CLI app.

How do I run the Pet Store App

To run the pet store app change directories into the pet store directory and run npm install. Then run 'npm run dev'. Beware, you may need to change the port if it's already being used. This is found in the config/index.js.

What port does the pet store app run

I changed the configuration so the port is on 8081.

Help I found a bug!

Submit a PR and I'll look at it. After the book is released I may or may not accept pull requests. As of now I will accept them. (note: I'm really behind on PRs so I apologize if it takes a few weeks or longer for me to get to them)

探索相关项目

加载中…