All Projects → ktsn → Vue Designer

ktsn / Vue Designer

Licence: mit
Vue component design tool

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Vue Designer

Vuep
🎡 A component for rendering Vue components with live editor and preview.
Stars: ✭ 840 (+152.25%)
Mutual labels:  editor, component
Tagger
Zero Dependency, Vanilla JavaScript Tag Editor
Stars: ✭ 135 (-59.46%)
Mutual labels:  editor, component
Animockup
Create animated mockups in the browser 🔥
Stars: ✭ 1,152 (+245.95%)
Mutual labels:  editor, design-tools
Vue Prism Editor
A dead simple code editor with syntax highlighting and line numbers. 3kb/gz
Stars: ✭ 422 (+26.73%)
Mutual labels:  editor, component
Projectvisbug
FireBug for designers › Edit any webpage, in any state https://a.nerdy.dev/gimme-visbug
Stars: ✭ 4,694 (+1309.61%)
Mutual labels:  extension, design-tools
Vue Monaco
MonacoEditor component for Vue.js
Stars: ✭ 471 (+41.44%)
Mutual labels:  editor, component
Object Editor React
Schema-aware editor for structured JSON objects (drop-in React component)
Stars: ✭ 104 (-68.77%)
Mutual labels:  editor, component
React Markdown
Markdown editor (input) based on React
Stars: ✭ 98 (-70.57%)
Mutual labels:  editor, component
Synedit
SynEdit main project
Stars: ✭ 324 (-2.7%)
Mutual labels:  editor, component
Upmgitextension
This package extends the UI of Unity Package Manager (UPM) for the packages installed from git repository.
Stars: ✭ 438 (+31.53%)
Mutual labels:  extension, editor
For Editor
for-editor - A markdown editor based on React
Stars: ✭ 358 (+7.51%)
Mutual labels:  editor, component
Vuerd Vscode
ERD Editor vscode extension
Stars: ✭ 95 (-71.47%)
Mutual labels:  extension, editor
Avataaars
React component for avataaars
Stars: ✭ 494 (+48.35%)
Mutual labels:  design-tools, component
React Markdown Editor Lite
a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器
Stars: ✭ 553 (+66.07%)
Mutual labels:  editor, component
Vue Tinymce Editor
This a component provides use of tinymce for vue developers
Stars: ✭ 216 (-35.14%)
Mutual labels:  editor, component
Xcodeway
⛵️ An Xcode Source Editor Extension that helps navigating to many places easier
Stars: ✭ 530 (+59.16%)
Mutual labels:  extension, editor
Xcodecolorsense2
🍉 An Xcode source editor extension that shows hex color info
Stars: ✭ 281 (-15.62%)
Mutual labels:  extension, editor
Plpgsql check
plpgsql_check is linter tool for language PL/pgSQL (native language for PostgreSQL store procedures).
Stars: ✭ 322 (-3.3%)
Mutual labels:  extension
React Music Player
🎵 Maybe the best beautiful HTML5 responsive player component for react :)
Stars: ✭ 321 (-3.6%)
Mutual labels:  component
Ngx Materialize
Angular wrap around Materialize library
Stars: ✭ 322 (-3.3%)
Mutual labels:  component

Vue Designer

Vue component design tool.

This extension is still work in progress. If you have some feedbacks for this extension, it would be really helpful!

demo

Quick Start

  • Download VSCode Extension

  • Open the command pallete and select Open Vue Designer. Then you can see a preview pane of currently opened single file component (.vue).

Settings

vueDesigner.sharedStyles

An array of CSS paths which will be loaded in the preview. It is useful when your application has global CSS such as reset CSS.

{
  "vueDesigner.sharedStyles": ["reset.css"]
}

Note that it does not support @import in the loaded CSS yet. You need to specify all depending CSS files.

Supported Preprocessors

Vue Designer currently does not actively support preprocessors on <template>, <script> and <style> blocks. Languages not included in the following list may not work on Vue Designer.

  • HTML (<template>)
  • JavaScript (<script>)
  • TypeScript (<script lang="ts">)
  • CSS (<style>)

Development

Vue designer is separated by two modules - server and client.

The server is executed by the editor process and responsible with parsing/analyzing component code and handling client requests. The client is for rendering compnent preview and handling the users' interaction. The server and client communicate by WebSocket to synchronize component data.

The server code is written in TypeScript and compiled to CommonJS format while the client code is in TypeScript too but bundled by webpack.

The codes only for client should be in src/view.

All codes should be formatted by Prettier.

For typings of external packages that does not exist should be in types/(package name).

Visual Studio Code Extension

To debug on VSCode, follow the below steps:

  1. Run yarn watch to start dev server.
  2. Open VSCode and show debug pane on the left side of the editor.
  3. Run Launch Extension so that it opens a new window with enabling local Vue Designer.
  4. Select Open Vue Designer on command pallete.

If you want to use dev tools for client code, add the following configuration in your keybindings.json.

{
  "key": "shift+cmd+i",
  "command": "workbench.action.webview.openDeveloperTools"
}

Commands

# build sources
$ yarn build

# build and watch sources
$ yarn watch

# run test
$ yarn test

# run test with watching
$ yarn test:watch

# run test with coverage report
$ yarn test:coverage

# format sources with prettier
$ yarn lint:fix

Release

$ npm version XXX # -> update version & generate changelog

# after edit changelog if needed
$ git add CHANGELOG.md
$ git commit -m "docs: changelog vXXX"

$ vsce publish
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].