在你的main.ts(或main.js)文件中,添加以下代码来全局注册vue-json-viewer组件: typescript import { createApp } from 'vue'; import App from './App.vue'; import JsonViewer from 'vue-json-viewer'; const app = createApp(App); app.use(JsonViewer); // 全局注册组件 app.mount('#app'); ...
一个JSON可视化工具 技术栈:Vue 3 + Vite +TS +Antv/G6+ Pinia +CodeMirror 全新版本(2.x.x) 新特性 新增语言(中/英)切换,全站适配 新增15 种主题色,主题色全站适配 新增亮、暗主题切换功能,编辑器主题跟随切换 新增渲染方式(自动渲染、手动渲染)选择 代码编辑器升级,优化编辑体验,提升性能(VueJsonEditor ...
"jsx": "preserve", "sourceMap": true, "resolveJsonModule": true, "isolatedModules": true, "esModuleInterop": true, "lib": ["ESNext", "DOM"], "skipLibCheck": true }, "include": [ "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue" ] }Footer...
, "main": "dist/bundle.cjs.js", "module": "dist/bundle.esm.js", "types": "dist/bundle.d.ts", "style": "dist/index.css", "files": [ "dist" ], "scripts": { "build": "rollup -c" }, "keywords": [ "vue", "json", "vue-next", "vue3" ], "author": "davidlan <as...
v0.10.6 (04/22/2023) Support property ‘askToFormat’ Bug Fixes v0.10.5 (12/18/2022) types: use type Content, JSONContent & TextContent from ‘vanilla-jsoneditor’ v0.10.4 (12/17/2022) ‘nuxt.ts’ should be included in the tarball...
auto-imports.d.ts chore: 修复代码格式 1年前 components.d.ts 🎨 优化节点计算逻辑,提升性能 2年前 deploy.sh chore: 🔨 更换 pwa 图标 1年前 eslint.config.js chore: 🔨 更新依赖 1年前 index.html feat: ✨ 新增 PWA 1年前 package.json ...
const extensions = [".ts", ".tsx", ".js"]; export default { input:'./src/index.js', output:{ file:'./dist/bundle.esm.js', format:'esm', //若打包commonjs assetFileNames: "[name]-[hash][extname]" }, external:["vue","@vue/compiler-sfc"], plugins:[ nodeResolve({ extension...
A image viewer for vue3.x 一款vue3.0的图片查看器. Contribute to luohc92/vue3-image-viewer development by creating an account on GitHub.