vue 安装 npm i wangeditor --save 创建一个editoritem组件 components/editoritem.vue //目录以自己项目为主 <template lang="html"> <div class="editor"> <div ref="toolbarCon ...
分类:
其他好文 时间:
2020-12-29 11:19:29
阅读次数:
0
背景 为啥要耽误说下载的版本号来,因为swiper在6.x的版本使用实在很头疼,所有下载的时候指定下载版本为5.x的 下载命令 : mpn install swiper@5.3.6 --save 在main.js中引入: //swiper引入js、css import 'swiper/js/swip ...
分类:
其他好文 时间:
2020-12-28 11:40:06
阅读次数:
0
一、axios安装 正常情况下使用脚手架vue-cli创建的项目都集成了axios插件,无需安装,如果需要安装请使用npm install axios --save命令进行安装。 二、axios常见5种请求方法 1、get请求 用于获取数据。 2、post请求 用于提交数据(新建)、包括表单提交及文 ...
分类:
移动开发 时间:
2020-12-25 12:53:58
阅读次数:
0
{ "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "eslint.validate": [ "javascript" ] } ...
分类:
其他好文 时间:
2020-12-25 12:33:40
阅读次数:
0
Linux中查看某个svn版本库目录的路径svn info命令 ...
分类:
系统相关 时间:
2020-12-24 11:59:53
阅读次数:
0
相比密码登陆,rsa秘钥登陆的安全性高很多,重点:防爆破 首先在服务器生成公钥和秘钥 ssh-keygen -b 1024 -t rsa -b 是加密位数 -t 是类型 然后有三个步骤(你懒的话直接回车三次完事) Enter file in which to save the key (/root/ ...
分类:
系统相关 时间:
2020-12-22 12:08:50
阅读次数:
0
一 . 安装 在命令行中执行: 使用npm或者cnpm安装 npm install animate.css --save 或 cnpm install animate.css --save 使用yarn安装 yarn add animate.css 二. 引入 在main.js全局引入 import ...
分类:
Web程序 时间:
2020-12-19 12:10:47
阅读次数:
3
参考博客 https://blog.csdn.net/weixin_34119545/article/details/91389878 1.npm install ant-design-vue --save 2.src/man.js 引入 import Antd from 'ant-design-v ...
分类:
其他好文 时间:
2020-12-19 12:09:54
阅读次数:
1
webpack-bundle-analyzer文件大小分析工具 Angular cli 与webpack-bundle-anglyzer结合分析包大小。 一.安装 npm install --save-dev webpack-bundle-analyzer 二.配置 webpack.config.j ...
分类:
Web程序 时间:
2020-12-19 12:00:03
阅读次数:
2
一、基本知识 1. npm安装package.json时 直接转到当前项目目录下用命令npm install 或npm install --save-dev安装即可,自动将package.json中的模块安装到node-modules文件夹下 2. package.json 中添加中文注释会编译出错 ...
分类:
Web程序 时间:
2020-12-17 12:42:14
阅读次数:
4