1 Star 3 Fork 0

快乐的梦鱼/vue-code-layout

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
3个月前
Loading...
README
MIT

vue-code-layout

一个仿 VSCode 的 Vue 编辑器布局组件,可以用于开发Web编辑器。

截图


特性

  • 简洁易用,体积小
  • 支持添加面板
  • 支持拖拽面板
  • 支持自定义面板图标、文字、渲染等
  • 支持VSCode外壳布局与编辑器区域布局
  • 支持保存、加载数据
  • 支持定义CSS样式

安装

npm install -save vue-code-layout

在 main.ts 中导入:

import 'vue-code-layout/lib/vue-code-layout.css'
import VueCodeLayout from 'vue-code-layout'

createApp(App)
  .use(VueCodeLayout)  

关于详细的用法,请参考文档。

文档

查看文档

查看在线演示

开发

git clone git@github.com:imengyu/vue-code-layout.git
cd vue-code-layout
npm install
npm run dev        # Development serve project
npm run build-demo # Build example project
npm run build-lib  # Build library project

问题

开源项目需要大家的支持才能越做越好。如果您遇到了问题,可以在仓库提出Issue,我会尽可能的给你解决。

如果您有好的修改,欢迎提交PR,成为项目的一员!

广告:作者的其他有用的项目

License

MIT

MIT License Copyright (c) 2021 梦欤 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个仿 VSCode 的 Vue 编辑器布局组件,可以用于开发Web编辑器。 A Vue editor layout component that like visual studio code and can be used to develop web editors. 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者 (3)

全部

近期动态

3个月前同步了仓库
8个月前同步了仓库
10个月前创建了仓库
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/imengyu/vue-code-layout.git
git@gitee.com:imengyu/vue-code-layout.git
imengyu
vue-code-layout
vue-code-layout
master

搜索帮助