10
10
11
11
<p >这个程序能帮你生成Vue 组件, 设置 routes , 也可以帮你显像Component Parent-Child组件树。你只要做一些小配置然后可以下载code boilerplate. 这样你就可以很方便简洁地生成Vue前台APP了!</p >
12
12
13
- ![ ] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/screenshot .png)
13
+ ![ ] ( ./ src/assets/readme/overvue1 .png)
14
14
15
15
## Table of Contents
16
16
64
64
## How to use
65
65
+ Opening the application will create by default a root App component and a root route called "HomeView"
66
66
+ Upload a mockup from your filesystem if you'd like. Remove the mockup and choose a new one if needed.
67
- ![ ] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/upload-image-drawers .gif)
67
+ ![ ] ( ./ src/assets/readme/upload_one_mockup .gif)
68
68
69
69
+ To add a new component, type its name in the component name box and select any HTML elements that should be rendered by that component.
70
70
+ HTML elements can also be added after creation by selecting the component in the display, then selecting HTML elements.
71
71
+ Select a parent component for the new component if needed.
72
72
+ After adding, you can move and resize the component in the display.
73
- ![ alt text] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/component_creation .gif)
73
+ ![ alt text] ( ./ src/assets/readme/create_resize_move .gif)
74
74
75
75
+ You can also add children to components by right-clicking the component to add children to, and you can see the tree re-render as you create new components or change the hierarchy.
76
- ![ ] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/HTML-elements-tree-rerender .gif)
76
+ ![ ] ( ./ src/assets/readme/right_click_add_children .gif)
77
77
78
78
+ The dashboard shows info about each component (code snippets and HTML elements). Click a component in the display to see its properties.
79
- ![ ] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/snippets-active-component .gif)
79
+ ![ ] ( ./ src/assets/readme/dashboard .gif)
80
80
81
81
+ You can add new routes and view all components and routes in the sidebar.
82
- ![ ] ( https://raw.githubusercontent.com/jeisele2/OverVue/master/ src/assets/gifs/sidebar-components-routes .gif)
82
+ ![ ] ( ./ src/assets/readme/add_new_route .gif)
83
83
84
84
+ When finished creating, you can export to a file location of your choice. Below is the exported file structure:
85
85
@@ -107,6 +107,7 @@ package.json
107
107
108
108
### OverVue v2.0 How to
109
109
+ Undo/Redo feature has been added to the top right of the program, you can also use CTRL+z and CTRL+y respectively.
110
+ ![ ] ( ./src/assets/readme/undo_redo.gif )
110
111
111
112
+ You can nest html elements in two different ways:
112
113
1 . Upon creating a component and adding an html element into it, Select the component to make it the active component.
@@ -116,9 +117,11 @@ package.json
116
117
2 . Similar to above, but instead of double clicking, you can press the down arrow icon on the html element button to enter it.
117
118
From there the view will change to the contents of that particular HTML element.
118
119
You can then add html elements like you would for a component using the left hand side
120
+ ![ ] ( ./src/assets/readme/nesting_html.gif )
119
121
120
122
+ Setting layers on a component is done by right clicking the desired component on the component display and using the menu option
121
123
All components start on layer 1 by default.
124
+ ![ ] ( ./src/assets/readme/layers.gif )
122
125
123
126
[ ↥Back to top] ( #table-of-contents )
124
127
0 commit comments