vue

Jenkins自动构建vue项目

Jenkins安装 请参考:https://www.cuiwei.net/p/1392307197 ssh连接gitee #生成公钥,私钥 root@edfd04c7ec00:/# ssh-keygen -t rsa -C "jenkins" 公钥配到gitee:https://gitee.com/profile/sshkeys 私钥配到Jenkins:Dashboard -> 系统管理 -> 凭据 -> 系统 -> 全局凭据 (unrestricted) 如上配置完,在拉取项目(git@gitee.com:chudaozhe/enterprise-admin.gi...

使用puppeteer爬取spa单页(vue/react)

docker 部署 puppeteer 官方提供的Dockerfile1️⃣ FROM node:12-slim # Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others) # Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer # installs, wo...

基于 vant-weapp 的企业展示型小程序

该项目采用前后端分离的架构模式,主要包括3部分: 1、用户端:即小程序,UI组件使用的Vant Weapp 请移步:https://github.com/chudaozhe/enterprise-weapp 2、管理员端:Vue + Element UI 请移步:https://github.com/chudaozhe/enterprise-admin 3、服务端:GO + Mysql + Nginx + Redis 请移步:https://github.com/chudaozhe/enterprise-api 在线体验 https://ent.uqiantu.com/console/ 用户名...

vue中使用微信jssdk

安装(非官方) npm install weixin-js-sdk --save 使用 import wx from 'weixin-js-sdk'; mounted(){ //jsconfig this.jsConfig(); }, methods: { jsConfig: async function() { let field = await jsSDK();//网络请求 wx.config(field); }, }

基于vue的markdown编辑器 - mavonEditor的使用

安装 npm install mavon-editor --save 基本使用 全局注册(main.js import mavonEditor from 'mavon-editor' import 'mavon-editor/dist/css/index.css' Vue.use(mavonEditor) 局部注册 import { mavonEditor } from "mavon-editor"; import "mavon-editor/dist/css/index.css"; export default { data: function() { return { ...