Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.46 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.46 KB

#Vue.js、vue-router学习记录

DEMO

  1. 若还没使用过Vue.js, 请先看几遍文档。

  2. 有了一个大概的概念后, 可看官方HackerNews源码进行学习。

  3. 资料扩展:


Live demo

Built with Vue.js, vue-router and the official HackerNews API, with routing, comments, comment folding, user profile & realtime updates.

The build setup uses Webpack and the vue-loader plugin, which enables Vue components to be written in a format that encapsulates a component's style, template and logic in a single file.

If you are using SublimeText you can get proper syntax highlighting for *.vue files with vue-syntax-highlight.

Building

npm install

# build...
npm run build

# watch on localhost:8080...
npm run dev