摘要:
blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(32)
评论(0)
推荐(0)
摘要:
blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); //告诉express框架模板所在的位置 app.set('vi 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(20)
评论(0)
推荐(0)
摘要:
blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); //告诉express框架模板所在的位置 app.set('vi 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(25)
评论(0)
推荐(0)
摘要:
// 引用expess框架 const express = require('express'); // 创建博客展示页面路由 const admin = express.Router(); // 渲染登录页面 admin.get('/login', require('./admin/loginPa 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(32)
评论(0)
推荐(0)
摘要:
const { User } = require('../../model/user'); module.exports = async (req, res) => { // 获取到地址栏中的id参数 const { message, id } = req.query; // 如果当前传递了id参数 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(20)
评论(0)
推荐(0)
摘要:
// 导入用户集合构造函数 const { User } = require('../../model/user'); module.exports = async (req, res) => { // 接收客户端传递过来的当前页参数 let page = req.query.page || 1; 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(46)
评论(0)
推荐(0)
摘要:
json转换工具 chrome://flags/#extensions-on-chrome-urls 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(29)
评论(0)
推荐(0)
摘要:
const express = require('express'); const path = require('path'); const app = express(); app.engine('art', require('express-art-template')) app.set('v 阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(54)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(23)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2022-08-05 22:01
前端导师歌谣
阅读(13)
评论(0)
推荐(0)

浙公网安备 33010602011771号