
vue
文章平均质量分 54
hobtdto
这个作者很懒,什么都没留下…
展开
-
vue3使用TinyMCE富文本
TinyMCE 是一个功能强大的富文本编辑器,它允许您在网页应用程序中创建和编辑具有丰富格式的内容。原创 2023-11-27 09:09:48 · 390 阅读 · 0 评论 -
vue3 jsx或tsx中使用自定义指令
vue3 jsx或tsx中使用自定义指令原创 2023-10-25 10:17:12 · 2018 阅读 · 0 评论 -
vite require is not defined
vuex使用webpack中require.context(’./modules’, true, /.js$/) 获取目录下的所有文件,升级vue3使用vite报 require is not definedimport { createStore } from 'vuex'import getters from './getters'// https://vitejs.dev/guide/features.html#glob-importconst modulesFiles = import.原创 2021-04-10 20:36:46 · 13365 阅读 · 8 评论 -
Ant Design of Vue Icon 图标列表
拷贝插件yarn add vue-clipboard2// main.js//复制到粘贴板插件import VueClipboard from 'vue-clipboard2'VueClipboard.config.autoSetContainer = trueVue.use(VueClipboard)图标列表// /src/views/icons.vue<template> <div> <a-radio-group :value="t.原创 2020-08-06 16:49:37 · 6232 阅读 · 2 评论 -
vue 引入monaco-editor
安装yarn add monaco-editor monaco-editor-webpack-plugin或npm install monaco-editor monaco-editor-webpack-plugin修改webpack 配置// vue.config.jsconst MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')module.exports = { chainWebpack: config =&原创 2020-05-19 20:53:26 · 952 阅读 · 1 评论 -
vue实现右键菜单
自己写的右键菜单组件文章目录代码目录结构代码index.jsindex.vueitem.vue使用全局注册组件内注册.代码目录结构├── src ├── components └── context-menu ├── index.js ├── index.vue └── item.vue 代码index.js// src/components/context-menu/index.jsexport functio.原创 2020-05-10 22:27:01 · 978 阅读 · 0 评论 -
vue 打印(模板套打)
vue 使用print-template生成pdf 打印 。支持生成二维码、条形码、文本、图片、线安装yarn add print-template或npm install print-template内容类型line 线条 barcode 条形码 qrcode 二维码 image 图片 text 文本 内容属...原创 2020-01-03 22:34:04 · 19167 阅读 · 34 评论