Skip to content

Commit

Permalink
md测试
Browse files Browse the repository at this point in the history
  • Loading branch information
leenty committed Nov 21, 2016
1 parent ac42697 commit db183f2
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,9 @@
"webpack-dev-middleware": "^1.8.3",
"webpack-hot-middleware": "^2.12.2",
"webpack-merge": "^0.14.1"
},
"engines": {
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
}
}
9 changes: 8 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@
},
computed: mapGetters([
'articleList'
])
]),
ready () {
console.log('test')
console.log(document.querySelector('.app__content'))
document.querySelector('.app__content').addEventListener('scroll', function (e) {
console.log(e)
})
}
}
</script>

Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Vue from 'vue'
import router from './router'
import store from './store'

import App from './App'
import App from './App.vue'

/* eslint-disable no-new */
new Vue({
Expand Down
23 changes: 22 additions & 1 deletion src/md/articles/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,25 @@
3. 列表3
* 列表1 2

![test](http://images.meet-true.com/default/201602/gxiwh52j1udfhgy9.jpg@200w_100q.jpg)
![test](http://images.meet-true.com/default/201602/gxiwh52j1udfhgy9.jpg@200w_100q.jpg)

### 添加了MarkDown

1. 列表1
2. 列表2
3. 列表3
* 列表1 2

### 添加了MarkDown

1. 列表1
2. 列表2
3. 列表3
* 列表1 2

### 添加了MarkDown

1. 列表1
2. 列表2
3. 列表3
* 列表1 2
2 changes: 2 additions & 0 deletions src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import Article from './components/Article.vue'

const routes = [
{
name: 'Home',
path: '/',
component: Home
},
{
name: 'Article',
path: '/article',
component: Article
}
Expand Down

0 comments on commit db183f2

Please sign in to comment.