码迷,mamicode.com
首页 >  
搜索关键字:A component require    ( 12084个结果
Node.js 处理get和post请求参数
/* get参数处理-url核心模块 */ const url = require('url'); // parse方法的作用就是把URL字符串转化为对象 let str = 'http://www.baidu.com/abc/qqq?flag=123&keyword=java'; let ret ...
分类:Web程序   时间:2021-04-20 14:29:23    阅读次数:0
ffmpeg P016 P010 YUV444P16LE 的打印的像素值
软解: AV_PIX_FMT_YUV420P10LE in fmt:64IN Y :0x7f45280084c0074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074.00 074 ...
分类:其他好文   时间:2021-04-19 15:05:14    阅读次数:0
Vue3 + TypeScript + vue-class-component +Webpack 实战踩坑
项目运行环境 node v12.9.0 npm v6.10.2 cli-service v4.5.0 核心框架版本号 "vue": "^3.0.0", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", "vuex": "^4.0 ...
分类:Web程序   时间:2021-04-19 14:58:07    阅读次数:0
vue3 新加路由添加组件的方式
1 import Home from '../views/Home.vue' { path: '/', name: 'Home', component: Home }, 2 { path: '/about', name: 'About', component: () => import('../vi ...
分类:其他好文   时间:2021-04-16 12:13:05    阅读次数:0
C# 获取操作系统信息
参见微软官方 https://docs.microsoft.com/en-us/windows/win32/sysinfo/operating-system-versionusing System; using System.Collections.Generic; using System.Lin ...
分类:Windows程序   时间:2021-04-16 11:58:09    阅读次数:0
js工具之mock.js
作用:1.模拟生产后台数据,2.拦截Ajax请求 如果会后端,比如express,也可以自己写后端。不过这个mock,有许多生产数据的方法,值得学一下。毕竟单纯的自己写后端会费事的多。 // 安装 npm install mockjs // 使用 var Mock = require('mockjs ...
分类:Web程序   时间:2021-04-15 12:29:51    阅读次数:0
egg和koa洋葱模型
一个请求通过经过中间件最后生成响应 基于koa2的demo const Koa = require('koa'); const app = new Koa(); const PORT = 3000; // #1 app.use(async (ctx, next)=>{ console.log('wa ...
分类:其他好文   时间:2021-04-15 12:19:38    阅读次数:0
react的Router的exact、path、component、strict属性
type Location = { //这是一个location pathname: Pathname; search: QueryString; query: Query; state: LocationState; action: Action; key: LocationKey;};class ...
分类:其他好文   时间:2021-04-13 12:11:38    阅读次数:0
vue-vuex-actions的基本使用
之前也讲过了,actions中是用来操作异步代码的,由于在mutations写异步操作会导致devtools工具记录不到state的变化,因此才有actions的存在,下面是基本的使用,如下: 点击按钮,发布到actions: <template> <div> <button @click="toA ...
分类:其他好文   时间:2021-04-12 11:52:14    阅读次数:0
node 带mongodb
let http = require('http');// 引入url模块 获取域名后面的urllet path = require('path');let fs = require('fs');let url = require('url');let ejs = require('ejs');le ...
分类:数据库   时间:2021-04-07 10:47:53    阅读次数:0
12084条   上一页 1 ... 11 12 13 14 15 ... 1209 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!