摘要: 1、安装JAVA环境: yum install -y java 安装完后输入 java -version 查看版本信息 2、安装Tomcat 从官网直接下载tomcat文件,并解压缩 tar -zxv -f apache-tomcat-X.X.X.tar.gz 3、后台运行jar包 nohup ja 阅读全文
posted @ 2021-06-15 19:01 进击的米豆 阅读(57) 评论(0) 推荐(0)
摘要: 1、Http请求处理 在Android SDK 27以后,默认是不允许通过明文Http协议进行通信的,所以如果进行Http通信需要设置。 res目录下新建 network_security_config.xml <?xml version="1.0" encoding="utf-8"?> <netw 阅读全文
posted @ 2021-06-12 15:07 进击的米豆 阅读(138) 评论(0) 推荐(0)
摘要: 经过查资料,发现是项目中主题的问题 找到res\values\themes.xml 修改其中 <style name="Theme.HelloWorld" parent="Theme.MaterialComponents.DayNight.DarkActionBar>在后面加上.Bridge: <s 阅读全文
posted @ 2021-06-05 10:44 进击的米豆 阅读(498) 评论(0) 推荐(0)
摘要: 修改build.gradle文件 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { goog 阅读全文
posted @ 2021-06-04 00:07 进击的米豆 阅读(288) 评论(0) 推荐(0)
摘要: 安装脚手架工具 npm install create-react-app -g 创建一个新的工程 create-react-app 工程名称 到工程文件夹中,运行该工程 npm start 我们建一个welcome.js import React from 'react' class Welcome 阅读全文
posted @ 2021-05-25 11:26 进击的米豆 阅读(45) 评论(0) 推荐(0)
摘要: 在网页版Vue中,我使用的是js-cookie这个包来实现cookie的 但是Electron中似乎不可以用,查询官方文档发现有一个cookies的类 于是在此类上重写cookie的get,set的实现 API参考:类:Cookies | Electron (electronjs.org) cons 阅读全文
posted @ 2021-05-18 10:10 进击的米豆 阅读(2571) 评论(0) 推荐(0)
摘要: 我是使用Electron builder进行Vue项目打包的 一、修改工程名称以及图标 在工程根目录下新建一个vue.config.js文件,并做如下配置: module.exports = { pluginOptions: { electronBuilder: { builderOptions: 阅读全文
posted @ 2021-05-17 15:28 进击的米豆 阅读(856) 评论(0) 推荐(0)
摘要: 1、首先通过vue ui的引导,构建一个默认项目; 2、在工程中加入electron-builder vue add electron-builder 3、为了能够更快速的下载相关依赖文件,可以设置淘宝镜像 npm config set ELECTRON_MIRROR=https://npm.tao 阅读全文
posted @ 2021-05-17 10:23 进击的米豆 阅读(288) 评论(0) 推荐(0)