add frontend
This commit is contained in:
15
frontend/static/js/views/Posts.js
Normal file
15
frontend/static/js/views/Posts.js
Normal file
@ -0,0 +1,15 @@
|
||||
import AbstractView from "./AbstractView.js";
|
||||
|
||||
export default class extends AbstractView {
|
||||
constructor(params) {
|
||||
super(params);
|
||||
this.setTitle("Posts");
|
||||
}
|
||||
|
||||
async getHtml() {
|
||||
return `
|
||||
<h1>Posts</h1>
|
||||
<p>You are viewing the posts!</p>
|
||||
`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user