You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.5 KiB
JavaScript
65 lines
1.5 KiB
JavaScript
var postList = [
|
|
new Post(
|
|
'Vue.js',
|
|
'https://vuejs.org/',
|
|
'Chris',
|
|
'https://vuejs.org//images/logo.png'
|
|
),
|
|
new Post(
|
|
'React.js',
|
|
'https://facebook.github.io/react/',
|
|
'Tim',
|
|
'http://daynin.github.io/clojurescript-presentation/img/react-logo.png'
|
|
),
|
|
new Post(
|
|
'Angular.js',
|
|
'https://angularjs.org/',
|
|
'Sam',
|
|
'https://angularjs.org/img/ng-logo.png'
|
|
),
|
|
new Post(
|
|
'Ember.js',
|
|
'http://emberjs.com/',
|
|
'Rachel',
|
|
'http://www.gravatar.com/avatar/0cf15665a9146ba852bf042b0652780a?s=200'
|
|
),
|
|
new Post(
|
|
'Meteor.js',
|
|
'https://www.meteor.com/',
|
|
'Chris',
|
|
'http://hacktivist.in/introduction-to-nodejs-mongodb-meteor/img/meteor.png'
|
|
),
|
|
new Post(
|
|
'Aurelia',
|
|
'http://aurelia.io/',
|
|
'Tim',
|
|
'https://cdn.auth0.com/blog/aurelia-logo.png'
|
|
),
|
|
new Post(
|
|
'Node.js',
|
|
'https://nodejs.org/en/',
|
|
'A. A. Ron',
|
|
'https://code-maven.com/img/node.png'
|
|
),
|
|
new Post(
|
|
'Pusher',
|
|
'https://pusher.com/',
|
|
'Alex',
|
|
'https://avatars1.githubusercontent.com/u/739550?v=3&s=400'
|
|
),
|
|
new Post(
|
|
'Feathers.js',
|
|
'http://feathersjs.com/',
|
|
'Chuck',
|
|
'https://cdn.worldvectorlogo.com/logos/feathersjs.svg'
|
|
),
|
|
]
|
|
|
|
var app = new Vue({
|
|
el:'#app',
|
|
data:{
|
|
keyword: 'Javascript'
|
|
}
|
|
});
|
|
|