@apptegy/nuxt-navigation 0.1.46-alpha.0 → 0.1.48-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script setup lang="ts">
|
|
40
|
-
import { useSidebar } from "#imports";
|
|
40
|
+
import { useSidebar, navigateTo } from "#imports";
|
|
41
41
|
import { ref, computed, onMounted } from 'vue'
|
|
42
42
|
|
|
43
43
|
interface IHelpArticlesProps {
|
|
@@ -73,12 +73,12 @@ function expandDropdown() {
|
|
|
73
73
|
expanded.value = !expanded.value;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
function goToSettings() {
|
|
77
|
-
|
|
76
|
+
async function goToSettings() {
|
|
77
|
+
await navigateTo(`${props.settingsRoute}`); // if internal routes
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
function goToWebsite() {
|
|
81
|
-
|
|
80
|
+
async function goToWebsite() {
|
|
81
|
+
await navigateTo(`${props.schoolWebsite}`, {external: true}); // if external routes
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apptegy/nuxt-navigation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48-alpha.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -46,6 +46,5 @@
|
|
|
46
46
|
"vitest": "^3.1.2",
|
|
47
47
|
"vue": "^3.5.13",
|
|
48
48
|
"vue-tsc": "^2.2.10"
|
|
49
|
-
}
|
|
50
|
-
"gitHead": "10bbb0c9c99365d4b0c2ab37b091913bd0af4212"
|
|
49
|
+
}
|
|
51
50
|
}
|