# webpack ## 定义 前端自动化打包工具 ## 功能 编译es6,压缩图片,压缩代码,代码热更新 ## 环境准备 必须安装nodejs ## 组成部分 ### mode模式 两种:development 开发环境 production 生产环境 ### entry入口 指定webpack运 ...
分类:
Web程序 时间:
2021-06-09 15:36:26
阅读次数:
0
github上找到的然后自己稍微改了一下,省的后面要找找不到 地址 // 搜索下拉框 var flag = true ; (function(root, factory) { if (typeof exports 'object') { //umd module.exports =factory($ ...
分类:
其他好文 时间:
2021-06-08 23:35:31
阅读次数:
0
虚拟键盘的集成有两种方式: 1、键盘出现在桌面,即系统的屏幕上,键盘的宽度等于屏幕的宽度,不依赖于app的宽度 2、键盘嵌入到我们的app中去,键盘的宽度等于我们app的宽度。 加载插件: $ QT_IM_MODULE=qtvirtualkeyboard myapp 具体做法: 方法2:在main. ...
分类:
其他好文 时间:
2021-06-08 23:26:27
阅读次数:
0
server { listen 80; server_name www.yourweb.com; rewrite ^(.*)$ https://$host$1 permanent; } ...
分类:
Web程序 时间:
2021-06-08 22:57:22
阅读次数:
0
新建vue.config.js module.exports = { css: { loaderOptions: { sass: { // 全局引入变量和 mixin additionalData: ` @import "@/assets/scss/variable.scss"; @import " ...
分类:
Web程序 时间:
2021-06-06 19:40:33
阅读次数:
0
一般的.net项目在IIS发布只需要将文件夹指向项目的根目录即可,但是指向.net core项目不会发布成功。哪怕指向 /bin/Debug/netcoreapp3.1/ 也不行。 那么如何发布呢? 方法一 点击项目右键 选择“发布”。 选择发布类型为文件夹,选择文件夹路径 一般为 /bin/Rel ...
分类:
Web程序 时间:
2021-06-06 19:10:43
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0
在 module 实现里,务必导入下列 module: import { ReactiveFormsModule } from '@angular/forms'; template 实现代码: <input type="text" [formControl]="jerryFormControl"> ...
分类:
其他好文 时间:
2021-06-05 18:35:02
阅读次数:
0
https://sap.github.io/spartacus-docs/reference-app-structure/ 该概念在 SAP Spartacus 3.1 版本引入。 这个 Reference App Structure 是 SAP 推荐客户在搭建自己的 Spartacus Store ...
分类:
移动开发 时间:
2021-06-05 18:32:27
阅读次数:
0
ES Module和CommonJS的模块化有一些不同之处: 一方面它使用了import和export关键字; 另一方面它采用编译期的静态分析,并且也加入了动态引用的方式; 一、ES Module模块采用export和import关键字来实现模块化: export负责将模块内的内容导出; impor ...
分类:
其他好文 时间:
2021-06-05 17:48:56
阅读次数:
0