Skip to content

Vue 仿 VSCode 布局组件 A Vue editor layout component that like visual studio code and can be used to develop web editors.

License

Notifications You must be signed in to change notification settings

imengyu/vue-code-layout

Repository files navigation

vue-code-layout

A Vue editor layout component that like VSCode and can be used to develop web editors.

screenshot


English | 中文

Features

  • Simple and easy to use, small size
  • Support adding panels
  • Support drag and drop panel
  • Support customize panel icons, text, rendering, etc
  • Supports VSCode outer layout and inner editor area layout
  • Support saving and loading data
  • Support defining CSS styles

Install

npm install -save vue-code-layout

Import in main.ts:

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

createApp(App)
  .use(VueCodeLayout)  

For detailed usage, please refer to the documentation.

Documentation

Documentation

Demo

Develop

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

Problem

Open source projects require everyone's support to get better and better.

If you encounter any problems, you can submit an issue and I will do my best to solve it for you.

If you have any good modifications, welecome submit a PR!

AD: Author's other project

License

MIT

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy