Git Product home page Git Product logo

vue-bookstore's Introduction

《Vue2实践揭秘》 - 第3~5章示例源码

2017-5-28 据不少读者的来信说之前这个示例源码一直无法运行,这是由于本书经历出版周期后WebPack和vue的相关工具都进行了升级,新版本的WebPack配置发生了不少的变更所至。 我会在简书中对新变更的内容进行一些更新说明以作为本书的迭代,新的内容会在后续的发行版本中更新到书中。

环境说明

  • NodeJS v7.10.0
  • NPM v4.6.1
  • Vue v2.3.3
  • vue-cli v2.8.2

安装依赖包

npm i

运行本示例

npm run dev

vue-bookstore's People

Contributors

dotnetage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-bookstore's Issues

problem

I think your book is so bad.

感觉买到了假书

感觉买到了假书,作者的代码过不了eslint,
前面说好的规范,根本没有,

关于示例源码问题

您好,根据我的学习,我发现您书上的源码和你的github上的源码有很大的区别,且有一些优化您都没加进去,这是为什么呢?为什么不进行修改一下呢?如果不修改,要么就不要将这个源码放出来误导我们是把。
最后谢谢您写了这本书,是它让我入门,总之很感谢,但是意见还是要提的是不?

书和代码都很渣

作者代码用心点吧。好歹让我们这些买了书的人能把代码跑通

书上动态路由取值的问题

书本第64页this.$router.params.id 提示未定义
查阅vue文档发现 应该改为 this.$route.params.id
少了一个R,不知道是不是和版本有关

代码的目录结构和书上说的完全不一样吧

就说书上说的路由那里,自己说要单独出一个文件夹放路由定义文件,结果示例里面竟然写在main.js里面,还有组建和页面,感觉就是想到就放的,没有体现结构出来啊

第56页 57页 routes.js内容错误?

第56页 main.js里面内容:
const router = newVueRouter()
移至routes.js里面变成了
export default = new VueRouter()//此行代码在语法上还报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.