ARTICLES

文章

分享经验、记录生活和整理知识。

html

JS强制更改返回上一页

$(function () { window.history.pushState({}, '', '当前链接URL'); var bool = false; setTimeout(function () { bool = true; }, 500); window.addEventLis…

2025-01-09 · 16 阅读
html

VUE开发时解决跨域问题

config/index.js开启代理   dev: {     // Paths     assetsSubDirectory: 'static',     assetsPublicPath: '/',     proxyTable: {       "/api…

2022-03-30 · 5 阅读
html

ios safari video 视频自动播放

  <video  autoplay loop muted tabindex="-1" class="video-stream html5-main-video" webkit-playsinline="" playsinline="" x-webkit-airplay="allow"  co…

2022-03-15 · 6 阅读
html

layui文档

文档地址:http://blog.mengyiju.com/doc/layui/ IM地址:http://blog.mengyiju.com/doc/layim.pdf LAYUI下载:http://blog.mengyiju.com/doc/layui/layui-v2.2.5.zip…

2022-02-15 · 5 阅读
html

VUE项目部署公网ip和端口以及使用域名访问配置

一.公网ip和端口配置 在vue项目启动之前对项目下:项目名/config/index.js 文件进行修改 原来的内容为:(位置在index.js的第16,17行作用) host: 'localhost', // can be overwritten by process.…

2021-11-05 · 1 阅读
html

VSCode 基础必备插件

基础必备插件 1、View In Browser 在浏览器里预览网页必备。 2、vscode-icons 改变编辑器里面的文件图标,个人比较稀饭这个。其他的这里就不说了。 3、Bracket Pair Colorizer 给嵌套的各种括号加上不同的颜色。 4…

2021-08-14 · 0 阅读
html

vue+webpack

$ npm install -g vue-cli //安装vue插件,安装vue前必须安装node.js $ vue init webpack my-project //创建项目,第一次需要超级管理员打开powershell执行命令:set-ExecutionPolicy RemoteS…

2021-08-02 · 0 阅读
继续向下滚动加载