feat: admin component
This commit is contained in:
@@ -8,6 +8,13 @@ router.get('/e/*', (req, res, next) => {
|
||||
res.render('main/editor')
|
||||
})
|
||||
|
||||
/**
|
||||
* Administration
|
||||
*/
|
||||
router.get(['/a', '/a/*'], (req, res, next) => {
|
||||
res.render('main/admin')
|
||||
})
|
||||
|
||||
/**
|
||||
* View document
|
||||
*/
|
||||
|
6
server/views/main/admin.pug
Normal file
6
server/views/main/admin.pug
Normal file
@@ -0,0 +1,6 @@
|
||||
extends ../master.pug
|
||||
|
||||
block body
|
||||
body
|
||||
#app
|
||||
admin
|
Reference in New Issue
Block a user