摘要: 测试电脑锐龙4600H node.js版本20.x bun.js 版本 1.15 .net Core 版本 8 阅读全文
posted @ 2024-04-28 19:34 祁腾飞 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1. 下载bun可执行文件, 地址如下 https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip 2. 解压到D盘修改文件夹名为bun并且创建快捷方式 3.增加环境变量 4.验证 bun --help & 阅读全文
posted @ 2024-02-21 20:12 祁腾飞 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1. 切换文件夹 cd /usr/local 2. 下载nodejs包 自行下载最新版本 https://nodejs.org/en/download wget https://nodejs.org/dist/latest-v18.x/node-v18.18.2-linux-x64.tar.gz 3 阅读全文
posted @ 2023-09-04 14:27 祁腾飞 阅读(1006) 评论(0) 推荐(1) 编辑
摘要: 公司业务代码在异或加密基础上又加了Base64加密和encodeURIComponet编码 const Base64 = require('base-64') function xorEncrypt (str, key) { let result const list = [] for (let i 阅读全文
posted @ 2023-08-04 17:54 祁腾飞 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1. 首先下载插件 yarn add vite-plugin-mock mock -D 2.建立mock文件夹,并且新建index.js 文件 export default [{ url: '/dev-api/api/getUsers', method: 'get', response: () => 阅读全文
posted @ 2022-10-15 14:00 祁腾飞 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 1.asyncRoute.js /** * 当前文件保存已经写好的页面组件 */ const aysncRoutes = { PageA: () => import('../views/PageA/index.vue'), PageB: () => import('../views/PageB/in 阅读全文
posted @ 2022-10-11 20:28 祁腾飞 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 1. 基础用法 <script setup lang="ts"> import { ref, onMounted, onUnmounted } from 'vue' // loading-image const imgUrl = ref(new URL('/src/assets/loading.pn 阅读全文
posted @ 2022-09-29 19:34 祁腾飞 阅读(736) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang=""> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content=" 阅读全文
posted @ 2022-09-18 20:51 祁腾飞 阅读(76) 评论(0) 推荐(0) 编辑
摘要: <audio id="music1" preoload autoplay> <source src="./all-01.mp3" type="audio/mp3" /> </audio> <script src="./pixi.min.js"></script> <script src="./pix 阅读全文
posted @ 2022-09-18 18:52 祁腾飞 阅读(822) 评论(0) 推荐(0) 编辑
摘要: "devDependencies": { "dart-sass": "^1.25.0", "node-sass": "npm:dart-sass@^1.25.0", "sass-loader": "^7.3.1", }, 找到package.json 把这个放到开发依赖中 然后npm i 阅读全文
posted @ 2022-04-28 11:08 祁腾飞 阅读(323) 评论(0) 推荐(0) 编辑