html
<video v-show="showvideo" id="video" muted class="shipin" autoplay="autoplay" controls=&...
yekong
4年前 (2021-08-17)
喜欢
nginx部署vue开发的项目history模式下除了将vue编译后的文件上传到线上外,还需要配置nginx的伪静态才可以正常访问
nginx vue项目history伪静态规则
location / {
try_files $uri $uri/ /index.html;
...
yekong
4年前 (2021-08-16)
喜欢
首先安装依赖
npm i postcss-pxtorem --save
创建配置文件
postcss.config.js
module.exports = {
plugins: {
autoprefixer: {},
"postcss-pxtore...
yekong
4年前 (2021-08-16)
喜欢
是postcss-pxtorem版本太高了
从6.0降到5.1.1就可以正常运行了
"postcss-pxtorem": "^5.1.1",
...
yekong
4年前 (2021-08-07)
喜欢
安装依赖
npm i draggable --save
使用
js
import draggable from 'vuedraggable'
html
<draggable class="Homebody pc" v-mod...
yekong
4年前 (2021-08-05)
喜欢
<ul>
<li class="" @mouseover="changeActive($event)" @mouseout="removeActive($event)"></li>
...
yekong
4年前 (2021-08-04)
喜欢
html
<div class="quanping" @click="quanping">全屏</div>
js
<script>
export default {
components: {},
...
yekong
4年前 (2021-08-03)
喜欢
npm安装:
npm install --save js-md5
使用方法1
import md5 from 'js-md5';
md5('holle') // bcecb35d0a12baad472fbe0392bcc043
使用方法2
...
yekong
4年前 (2021-07-17)
喜欢
getstatus() {
var that = this;
axios({
method: 'get',
url: 'url',
...
yekong
4年前 (2021-07-11)
喜欢
module.exports={
publicPath:'',
};
...
yekong
4年前 (2021-07-01)
喜欢