摘要: 项目结构: 这里使用的是elementUI的组件 https://element.eleme.cn/#/zh-CN/component/installation 如果没有创建项目可学习 vue的学习-创建项目(三) main.js 文件 import Vue from 'vue' /*需要加SASS 阅读全文
posted @ 2021-01-07 15:40 辉哥哥~ 阅读(303) 评论(0) 推荐(0) 编辑
摘要: axios的学习 <!DOCTYPE html> <html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml" > <head> <meta charset= 阅读全文
posted @ 2021-01-06 10:41 辉哥哥~ 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 安装 cnpm install vue-router --save-dev 安装成功! 进入项目:项目结构 创建两个 vue 组件,Main.vue 和 Content.vue Main.vue <template> <h3>学习Vue-router 路由</h3> </template> <scr 阅读全文
posted @ 2021-01-05 08:55 辉哥哥~ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 安装 cnpm install -g webpack (同样在我们的项目文件夹下执行) 安装 cnpm install -g webpack-cli (同样在我们的项目文件夹下执行) 查看是否安装成功 创建项目 在项目里编写 1. hello.js文件 //暴露一个方法 exports.hello= 阅读全文
posted @ 2021-01-04 10:51 辉哥哥~ 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 创建一个项目 ( vue init webpack studyelement ) 进入工程 ( cd studyelement ) 安装路由 ( npm install vue-router --save-dev ) 安装 element-ui ( npm i element-ui -s ) 安装依 阅读全文
posted @ 2020-12-31 08:41 辉哥哥~ 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 下载 node.js 网址 https://nodejs.org/zh-cn/download/ 安装,傻瓜式安装即可 安装完成 在 cmd 出现如下代码就证明下载完成 配置npm镜像源 国内淘宝镜像源 安装命令:npm install -g cnpm --registry=https://regi 阅读全文
posted @ 2020-12-30 09:19 辉哥哥~ 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 错误: 解决方法: 在zookeeper安装目录中的bin目录下执行: ./zkCli.sh -server 本机ip:zookeeper端口号 例如: ./zkCli.sh -server localhost:2185 注意: 由于我在服务器本地启动zookeeper,所以ip直接使用localh 阅读全文
posted @ 2020-12-29 13:47 辉哥哥~ 阅读(682) 评论(0) 推荐(0) 编辑
摘要: v-text 指令 更新元素的 textContent。如果要更新部分的 textContent,需要使用 {{ Mustache }} 插值。 <!DOCTYPE html> <html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" x 阅读全文
posted @ 2020-12-29 12:37 辉哥哥~ 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 使用 SpringSecutity 安全管理做到 :登录&认证&授权&权限控制&注销&记住我 项目结构: 引入maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starte 阅读全文
posted @ 2020-12-28 09:32 辉哥哥~ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 异步任务,定时任务,发送邮件任务 1.异步任务 @Async service类 package com.lh.springboot.service;import org.springframework.scheduling.annotation.Async;import org.springfram 阅读全文
posted @ 2020-12-27 09:45 辉哥哥~ 阅读(153) 评论(0) 推荐(0) 编辑