- 博客(8)
- 收藏
- 关注
原创 微应用搭建实践总结(qiankun + React)
qiankun 是一个基于 single-spa 的微前端实现库,是目前主流微前端解决方案之一。本文是对使用 qiankun+React 搭建微应用demo的一个实践以及踩坑记录。
2022-09-13 10:53:37
2488
1
原创 前端缓存工具cache-manager
前端缓存工具cache-managerInstallnpm install cache-managerBasic Usageset(key, val, {ttl: ttl}, cb) // * see note belowget(key, cb)del(key, cb)mset(key1, val1, key2, val2, {ttl: ttl}, cb) // set several keys at oncemget(key1, key2, key3, cb) // get severa
2022-02-12 13:36:24
1377
原创 -webkit-background-clip属性不生效问题
-webkit-background-clip属性不生效问题代码>span{ font-size: 14px; &:first-of-type{ display: inline-block; font-size: 24px; background:linear-gradient(0deg,#35f6e9 0%, #069fff 100%); -webkit-backg
2021-10-28 13:39:41
2599
1
翻译 openlayers 和 turf 网格应用
openlayers 和 turf 网格应用<template> <div class="main"> <div class="map" id="map"></div> </div></template><script lang="ts">import {Component, Vue} from "vue-property-decorator"import * as turf f
2021-08-03 18:05:33
1345
原创 cordova-plugin-file文件读取和存储
cordova-plugin-file文件读取和存储安装cordova plugin add cordova-plugin-file使用方法1.确保文件读取、写入权限打开添加权限<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /
2021-04-22 09:59:32
1179
翻译 CSS属性动态传值
CSS属性动态传值定义CSS变量<span class="header-title" :style="{'--font-color': dropdownFont}"></span>CSS中使用变量.header-title{ color: var(--font-color);}
2021-04-15 17:15:43
2292
翻译 vue 父组件向子组件传递的事件添加额外参数
vue 父组件向子组件传递的事件添加额外参数父组件使用 $event 来表示子组件传递过来的参数具体使用方法子组件添加传递事件this.$emit(‘callbackone’,item.parentId)父组件调用事件@callbackone=“callbackone($event,index)”调用方法callbackone(KaTeX parse error: Expected '}', got 'EOF' at end of input: … console.log(event
2021-04-15 15:23:20
416
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人