Skip to content

Commit 9e65875

Browse files
committed
finished options -> composition api migration for MyLayout.vue and fixed bug with undo / redo buttons
1 parent 0b7be56 commit 9e65875

File tree

2 files changed

+543
-283
lines changed

2 files changed

+543
-283
lines changed

src/components/right-sidebar/tutorial/NewVersionInfo.vue

Lines changed: 51 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,66 @@
22
<section id="newFeatures">
33
<h6 class="infoHeading">What's New in OverVue 8.0?</h6>
44

5-
<p class="info-sub-heading">Improved Prototyping with Snap to Grid Positioning</p>
5+
<p class="info-sub-heading">
6+
Improved Prototyping with Snap to Grid Positioning
7+
</p>
68

7-
<p class="infoContent">Level up your prototyping with snap to grid positioning and component sizing that is exported as CSS grid styling in exported SFC's. Overvue 8.0 also fixes bugs that led to conditional application of color and position styling in previous versions. Click on these buttons below and a menu pull down show appear to change the grid density for either the width or height. </p>
8-
<img src="../../../assets/snaptogrid.jpg" class="tut-image">
9-
<p class="info-sub-heading">Augmented Component Creation with Element+ Component Library</p>
10-
<p class="infoContent">Take advantage of the popular, Vue 3.0 compatible component library, Element+. Manipulate these components in app, and rest easy knowing exported code includes both the library elements, and their necessary dependencies.</p>
9+
<p class="infoContent">
10+
Level up your prototyping with snap to grid positioning and component
11+
sizing that is exported as CSS grid styling in exported SFC's. Overvue 8.0
12+
also fixes bugs that led to conditional application of color and position
13+
styling in previous versions. Click on these buttons below and a menu pull
14+
down show appear to change the grid density for either the width or
15+
height.
16+
</p>
17+
<img src="../../../assets/snaptogrid.jpg" class="tut-image" />
18+
<p class="info-sub-heading">
19+
Augmented Component Creation with Element+ Component Library
20+
</p>
21+
<p class="infoContent">
22+
Take advantage of the popular, Vue 3.0 compatible component library,
23+
Element+. Manipulate these components in app, and rest easy knowing
24+
exported code includes both the library elements, and their necessary
25+
dependencies.
26+
</p>
1127

1228
<p class="info-sub-heading">OAuth</p>
13-
<p class="infoContent"> You can now opt-in to add boilerplate code for OAuth with Google or Github to your project. In the exported code, take advantage of Firebase to seemlessly configure OAuth for your organization.
29+
<p class="infoContent">
30+
You can now opt-in to add boilerplate code for OAuth with Google or Github
31+
to your project. In the exported code, take advantage of Firebase to
32+
seemlessly configure OAuth for your organization.
1433
</p>
1534
<p class="info-sub-heading">Testing</p>
16-
<p class="infoContent">All exported projects now come with boilerplate configuration files and unit test templates so you can easily implement testing with Jest and Vue Test Utils.</p>
17-
<q-btn class="tut-btn" color="secondary" id="advanced-btn" label="Investigate Advanced Functionality" @click="nextTab" />
18-
<q-btn class="tut-btn closeAction" label="Start Building Now" @click="toggleTutorial" />
35+
<p class="infoContent">
36+
All exported projects now come with boilerplate configuration files and
37+
unit test templates so you can easily implement testing with Jest and Vue
38+
Test Utils.
39+
</p>
40+
<q-btn
41+
class="tut-btn"
42+
color="secondary"
43+
id="advanced-btn"
44+
label="Investigate Advanced Functionality"
45+
@click="nextTab"
46+
/>
47+
<q-btn
48+
class="tut-btn closeAction"
49+
label="Start Building Now"
50+
@click="toggleTutorial"
51+
/>
1952
</section>
2053
</template>
2154

2255
<!-- COMPOSITION API SYNTAX -->
2356
<script setup>
24-
import { useStore } from 'vuex';
25-
import { defineEmits } from 'vue';
57+
import { useStore } from "vuex";
58+
import { defineEmits } from "vue";
2659
27-
const store = useStore();
28-
const emit = defineEmits(['nextTab']);
60+
const store = useStore();
61+
const emit = defineEmits(["nextTab"]);
2962
30-
const toggleTutorial = () => store.dispatch('toggleTutorial');
31-
const nextTab = () => emit('nextTab');
63+
const toggleTutorial = () => store.dispatch("toggleTutorial");
64+
const nextTab = () => emit("nextTab");
3265
</script>
3366

3467
<!-- OLD OPTIONS API SYNTAX -->
@@ -56,15 +89,15 @@ export default {
5689
}
5790
5891
.infoHeading {
59-
margin: .75rem;
92+
margin: 0.75rem;
6093
font-size: 2rem;
6194
padding-top: 15px;
6295
}
6396
6497
.info-sub-heading {
6598
align-self: flex-start;
6699
font-size: 1.4rem;
67-
margin: .75rem;
100+
margin: 0.75rem;
68101
margin-bottom: 0px;
69102
}
70103
@@ -80,7 +113,7 @@ export default {
80113
}
81114
82115
.infoContent {
83-
margin: .75rem;
116+
margin: 0.75rem;
84117
align-self: flex-start;
85118
font-size: 1rem;
86119
}

0 commit comments

Comments
 (0)