1
1
<template >
2
- <!-- Basic functionality here, add component, copy/paste, undo/redo, add html, saving, loading, exporting-->
3
2
<section id =" basicFunctions" >
4
3
<h6 class =" tutorialHeading" >Getting Started in OverVue</h6 >
5
4
<p class =" tutorialContent" >
20
19
in the top navigation bar, all the way to the right, and select "Getting
21
20
Started" to return to the landing page.
22
21
</p >
23
- <p class =" tutorialContent" >
24
- Almost any action in OverVue can be reversed with 'undo' or recreated with
25
- 'redo'
26
- <img
27
- style =" vertical-align : middle "
28
- alt =" Undo-redo"
29
- src =" ../../../assets/undo_redo.png"
30
- class =" tut-image"
31
- />
32
- found on the left side of the top navigation bar.
33
- </p >
34
22
<h class =" tutorial-sub-heading" >Setting Up Your Project</h >
35
23
<p class =" tutorialContent" >
36
24
Begin by clicking the gear icon
46
34
Github. Boilerplate for these configurations will be reflected in your
47
35
exported project.
48
36
</p >
49
- <p class =" tutorialContent" >
50
- Next, customize your canvas grid by choosing a density for your width and
51
- height in the upper left corner of the page. Once you begin prototyping,
52
- elements will snap to the grid for easy positioning.
53
- </p >
54
37
<h class =" tutorial-sub-heading" >Creating Components</h >
55
38
<p class =" tutorialContent" >
56
39
Under the Create Component menu in the left sidebar, set a component name
64
47
class =" tut-screenshot"
65
48
/>
66
49
<p class =" tutorialContent" >
67
- To use components from the Vue 3 compatible library, ElementPlus+, you can
68
- select elements from the dropdown menu, or search for them by element
69
- name. You will then select the corresponding html tag, designated with a
70
- prefix of 'e'. Finally, click create component!
50
+ To use components from the Vue 3 compatible library, Vuetensils, you can
51
+ switch the tab from Elements to Vuetensils. Finally, click create component!
71
52
</p >
72
53
<h class =" tutorial-sub-heading" >Customizing Your Components</h >
73
54
<p class =" tutorialContent" >
74
55
To capture component styling, be sure to add a class attribute. You can
75
56
further customize your components in the sidebar by adding an id, parents,
76
57
children, props, state, or actions - all of which will be included in your
77
58
exported code. To update a component after its creation, select the
78
- component on the canvas and the Update Component Menu will appear in the
59
+ component on the tree and the Update Component Menu will appear in the
79
60
left sidebar.
80
61
</p >
81
62
<h class =" tutorial-sub-heading" >Building Out Your Prototype</h >
82
63
<p class =" tutorialContent" >
83
- To manipuilate your prototype, you can drag and drop your components on
84
- the grid, and resize them by pulling at the corners. To add comments,
85
- click the notepad icon in the left corner of the component. To change
86
- color, click the canvas icon and select your color of choice.
64
+ To manipulate your prototype, you can drag and drop your components on
65
+ the tree. This will alter the component relationships and the code will
66
+ reflect the changes. To control the tree view, you focus on the tree background
67
+ by clicking it, and use keyboard controls to move around and zoom in.
68
+ </p >
69
+ <h class =" controls" >Controls:</h >
70
+ <p class =" tutorialContent" >
71
+ Directional Movement: Arrow Keys
72
+ <br />
73
+ Zoom: Scroll Wheel | Comma ( , ) | Period ( . )
74
+ <br />
75
+ Return to Root: Slash ( / )
87
76
</p >
77
+ <img
78
+ alt =" Tree View"
79
+ src =" ../../../assets/tree.png"
80
+ class =" tut-screenshot"
81
+ />
88
82
<h class =" tutorial-sub-heading" >Deleting Components</h >
89
83
<p class =" tutorialContent" >
90
- To delete a component, select it and click ‘Delete Currently Selected ’ in
84
+ To delete a component, select it and click ‘Delete Current Component ’ in
91
85
the Update Component menu.
92
86
</p >
93
87
<img
120
114
src =" ../../../assets/routes.png"
121
115
class =" tut-screenshot"
122
116
/>
123
- <!-- <h class="tutorial-sub-heading">Uploading mockups</h>
124
- <p class="tutorialContent">You can upload a design mockup in the Routes tab of the right sidebar menu (one mockup
125
- per route). Select the route in the Routes tab, open the ‘Upload Mockup’ sub-menu and click ‘Upload Mockup’. To
126
- clear the image, click the ‘Clear Image’ button.
127
- </p>
128
- <img alt="Upload Mockup buttons" src="../../../assets/upload-mockups.png" class="tut-screenshot">
129
- <h class="tutorial-sub-heading">Project Tree</h>
130
- <p class="tutorialContent">You can find a visualization of your app hierarchy in the Project Tree tab of the right
131
- sidebar. Routes are blue, components are green. You can also navigate to a component or route by clicking on it in
132
- the project tree.
133
- </p> -->
134
- <img
135
- alt =" Project Tree"
136
- src =" ../../../assets/project-tree.png"
137
- class =" tut-screenshot"
138
- />
139
117
<h class =" tutorial-sub-heading" >Saving or Exporting Your Project</h >
140
118
<p class =" tutorialContent" >
141
119
When you are satisfied with your project, you can save it or export it
178
156
</section >
179
157
</template >
180
158
181
- <!-- COMPOSITION API SYNTAX -->
182
159
<script setup lang="ts">
183
160
import { useStore } from " ../../../store/main.js" ;
184
161
@@ -189,21 +166,6 @@ const toggleTutorial = () => store.toggleTutorial();
189
166
const nextTab = () => emit (" nextTab" );
190
167
</script >
191
168
192
- <!-- OLD OPTIONS API SYNTAX -->
193
- <!-- <script>
194
- import { mapActions } from 'vuex';
195
-
196
- export default {
197
- emits: ['nextTab'],
198
- methods: {
199
- ...mapActions(["toggleTutorial"]),
200
- nextTab() {
201
- this.$emit('nextTab')
202
- }
203
- }
204
- }
205
- </script> -->
206
-
207
169
<style scoped lang="scss">
208
170
#basicFunctions {
209
171
display : flex ;
@@ -232,6 +194,13 @@ export default {
232
194
font-size : 1rem ;
233
195
}
234
196
197
+ .controls {
198
+ align-self : flex-start ;
199
+ font-size : 1.2rem ;
200
+ margin : 0.75rem ;
201
+ margin-bottom : 0px ;
202
+ }
203
+
235
204
.tut-btn {
236
205
margin : 0.75rem ;
237
206
width : 50% ;
0 commit comments