文章分类 - 前端
摘要:useCssVars 和 v-bind 都可以用于动态修改 CSS useCssVars 示例 const color = ref('red'); useCssVars(() => ({ 'my-background-color': color.value, # 没有前缀 -- })); .mydi
阅读全文
摘要:Element-Plus https://element-plus.org/ Element-UI https://element.eleme.cn/ 图标 Icon https://juejin.cn/post/7101268101173346335 <i-ep-expand />
阅读全文
摘要:Vuex commit .. this.$store.commit 调用 mutation this.$store.dispatch 调用 actions
阅读全文
摘要:H5 Canvas Lib: https://fabricjs.com/ Geometric.js:几何计算的利器 https://gitcode.com/gh_mirrors/ge/geometric/?utm_source=artical_gitcode&index=top&type=href&
阅读全文
摘要:https://docs.flutter.cn/get-started/install
阅读全文
摘要:在 Vue 3 中,this 访问全局属性和方法的方式是通过 app.config.globalProperties,替代了 Vue 2 中的 Vue.prototype。 convention: 全局属性命名 有前缀 $ 组件引用 <uni-forms ref="formRef" const fo
阅读全文
摘要:API uni.xxx UI uni-ui pages.json 中加入uni-ui配置, 这样在页面直接可以使用 uni-xxx "easycom": { "autoscan": true, "custom": { "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1
阅读全文
摘要:if (getAccessToken()) { const loginouturl = import.meta.env.VITE_BASE_URL + import.meta.env.VITE_API_URL + '/system/auth/logout' + '?token=' + getAcce
阅读全文
摘要:Vue 前端项目 有三种项目类型 WebPack : webpack.config.js Vue Cli : vue.config.js Vite : vite.config.js 调试 调试 开发服务器 调试 浏览器页面
阅读全文
摘要:Vite 默认的 JavaScript 转译方式 esbuild Vite 使用 esbuild:Vite 的核心构建工具是 esbuild,它是一个非常快速的现代 JavaScript 编译器。esbuild 支持大部分现代 JavaScript 特性,包括 TypeScript 和 JSX,但它
阅读全文
摘要:https://uniapp.dcloud.net.cn/ 创建项目 https://uniapp.dcloud.net.cn/quickstart-cli.html npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project创建的项目可以在
阅读全文
摘要:数字指定长度输出 https://blog.csdn.net/liyaxin2010/article/details/84060940
阅读全文
摘要:vue-plugin-hiprint https://www.bytezonex.com/archives/0BGk5UU_.html 分页 hiprint文档 http://hiprint.io/docs/panel#google_vignette https://blog.csdn.net/qq
阅读全文
摘要:语法 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing .then 与 await 的区别 https://juejin.cn/post/72549665964
阅读全文
摘要:谷歌浏览器语音无法播报 https://www.jianshu.com/p/2b861f41d822
阅读全文
摘要:解构 let {a: nameA, b: nameB} = obj; 对取出的属性值变量重新命名 let {a: nameA, b: nameB}:{a: string, b: number} = obj; 若需要定义该变量的类型
阅读全文
摘要:build project automation allow automake
阅读全文
摘要:https://cloud.tencent.com/developer/article/1551379
阅读全文