摘要:
初识nest 阅读全文
摘要:
一、模型关联 1.一对多/多对多 在一中关联多中的字段,type为 mongoose.Schema.Types.ObjectId ,并关联关联模型的名称。 1 const Categoryschema = new mongoose.Schema({ 2 name: { type: String }, 阅读全文
摘要:
不听话的插件删掉就好啦 阅读全文
摘要:
// example @selectors: blue, green, red; each(@selectors, { .sel-@{value} { a: b; } }) // outputs .sel-blue { a: b; } .sel-green { a: b; } .sel-red { 阅读全文
摘要:
bcrypt密码加密 jsonwebtoken获取token 阅读全文
摘要:
module.exports = app => { const path = require('path') const multer = require('multer') const upload = multer({ dest: path.join(__dirname, 'uploads') 阅读全文
摘要:
数据库增删改查的通用接口,命名需要严格按照标准,数据库大写单数,请求路径小写复数 阅读全文
摘要:
offset-
client-
scroll- 阅读全文
摘要:
流式布局(百分比布局)
flex弹性布局
less+rem+媒体查询布局
bootstrap
混合布局
响应式页面兼容移动端
媒体查询
bootstarp 阅读全文