avatar

sunday

Sunday's Blog

  • 首页
Home
sunday

vue3除index.html外,所有静态资源部署到阿里云oss上

1.在vite.config.js 中配置 base路径 import { defineConfig, loadEnv } from 'vite' const root = process.cwd() export default defineConfig(({ mode }) => { con

2024-05-23 软件使用 阿里云 vue 软件安装

自动上传ssl证书到阿里云证书管理控制台中

由于oss需要自定义域名启动https,但是证书需要上传到阿里云的证书控制台上,而域名证书有效期是3个月,所以写个自动脚本更新上传 vscode新建个目录cert 然后执行 cd ./cert npm init #然后一直回车 npm i @alicloud/openapi-client @alic

2024-05-21 阿里云 软件安装 软件使用 域名证书SSL

阿里云oss部署vue3单页应用/静态文件

1.将你打包的dist文件上传到你创建的Bucket中,可使用官方工具ossbrowser 可到这个地址下载:https://h

2024-05-20 vue 软件使用 软件安装

解决windows11下powershell无法执行pwsh命令

出现如下情况一般都是powershell版本有点低了: pwsh : 无法将“pwsh”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确 ,然后再试一次。 所在位置 行:1 字符: 1 + pwsh -v + ~~~~ + Catego

2024-05-18 软件安装 疑难杂症

ubuntu22.04后台执行程序、保活

ubuntu22.04有些运营商是已经内置了screen了 如果没有的话,执行apt install -y screen 1.创建一个虚拟终端窗口 screen -S your_name 会在当前路径下创建一个虚拟终端窗口,然后执行你要执行的命令 2.退出虚拟终端窗口 先按 ctrl+a 后按 d

2024-04-09 软件使用

已安装的nginx,动态模块开启google brotli 压缩,并在vite项目中启用

1.下载ngx_brotli 到github https://github.com/google/ngx_brotli 然后git clone cd /usr/local/ git clone https://github.com/google/ngx_brotli.git cd /usr/loca

2024-04-02 nodejs 软件安装 nginx

nginx1.25.0以上快速开启http3

nginx 快速开启http3 参考以下配置: server { listen 443 ssl; listen 443 quic reuseport; #开启http3特性 注意 reuseport 只能填写一次,比如你在另外个域名也是这样填写,会报duplicate的信息,ngin

2024-04-01 nginx 软件使用

prisma使用两个数据库

prisma使用两个数据库 本文大概介绍怎么操作使用两个数据库及多个数据,需要了解prisma的一些基本操作

2024-03-18 软件使用

docker-compose安装chatwoot客户互动系统

安装chatwoot 客户互动系统 1.docker-compose安装,不会的搜索本站docker-compose安装教程 在服务器目录/root/ 创建chatwoot cd /root mkdir chatwoot cd chatwoot ① 获取docker-comp

2024-03-10 软件使用 软件安装 docker

linux ubuntu安装最新的nodejs版本

服务器ubuntu22.04上安装nodejs稳定版本 1.执行安装脚本 curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - sudo apt-get install -y nodejs 其中setup_lts.x

2024-01-27 软件安装 nodejs 软件使用
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

Recently Updated

  • nextjs使用three.js写一个3D模型的查看器Viewer
  • nextjs15使用better-sqlite3的连接报错问题
  • nextjs + clerk + supabase + realtime 实时监听数据库更改
  • 解决nextjs15使用useLocalStorage报错的问题
  • mac上使用nodejs appium控制chrome浏览器

Trending Tags

nginx acme 强制跳转HTTPS nodejs 代理 mac 神器 vue3 工具 docker

©2025 sunday. Some rights reserved.

Using the Halo theme Chirpy