background picture of the home page

Hi,Friend

Vue 3 创建响应式数据的方法

在 Vue 3 中,提供了多种创建响应式数据的方法,下面将详细介绍这些方法及其使用场景。 reactive 函数 reactive 函数用于创建一个响应式对象。它接收一个普通对象作为参数,并返回一个响应式的代理对象。 示例代码 <template> <div> <p>{{ state.c

thumbnail of the cover of the post

nvm 安装以及配置

nvm 切换国内镜像 在 nvm 的安装路径下,找到 settings.txt文件,设置node_mirror与npm_mirror为国内镜像地址。在文件末尾加入: 下载地址 阿里云镜像 node_mirror: https://npmmirror.com/mirrors/node/ npm_mir

thumbnail of the cover of the post

Git 使用教程

Git 使用教程 拉取指定分支 # -b 后面跟分支名 git clone -b bych https://github.com/umrcheng/pyvm-windows.git 添加、修改、删除以及查看本地git的用户信息 全局 查看 git config --global user.name

thumbnail of the cover of the post

POST请求的几种编码格式

POST请求的几种编码格式 1. application/x-www-form-urlencoded 数据格式:将表单数据以键值对的形式编码成 URL 查询参数的格式,数据在请求体中以 key=value 的形式传递,并且键和值通过 & 连接。特殊字符会使用 URL 编码(例如,空格编码为 %20)

thumbnail of the cover of the post

临时 | 永久设置 npm 源

临时 | 永久设置 npm 源 临时使用 npm 源 如安装 lodash 包 npm install lodash --registry https://registry.npmmirror.com/ 查看当前的npm源 npm get registry 结果 PS C:\Users\2641

thumbnail of the cover of the post

Turf.js

Turf.js | 用于地理空间分析的 JavaScript 库 文档地址 内含详细使用教程 Turf.js中文网 Turf.js官网 Turf.js 介绍 Turf.js 是一个开源 JavaScript 库,它能够对地理空间数据执行操作。该库可在浏览器和 Node.js 环境中使用,提供一组用于

thumbnail of the cover of the post

Cesium 创建地图

vue3+vite+ceisum 使用教程 笔记 链接 基础环境配置 1. 安装 pnpm i cesium@1.99 vite-plugin-cesium 2. 修改vite.config.js⽂件, 添加cesium import { defineConfig } from 'vite' im

thumbnail of the cover of the post