-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes
27 lines (24 loc) · 927 Bytes
/
notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// https://stackabuse.com/sending-ajax-requests-in-vue-js/
// https://www.youtube.com/watch?v=gDMPgTFLOqc
axios.get(route("category.index")).then((response) => {
// handle success
categories.value = response.data;
});
axios.get(route("sub-category.index")).then((response) => {
// handle success
// subCategories.value = useGroupArrayByKey(
// subCategoryStore.subCategories,
// "category_id"
// );
//console.log(subCategories.value);
setTimeout(() => {
//useGroupArrayByKey(toRaw(subCategoryStore.subCategories), "category_id");
// initDropdowns();
}, 1000 * 1);
});
//https://code.visualstudio.com/docs/editor/codebasics#_save-auto-save'
//https://codepen.io/disguy-droid/details/wvxrPEL
//Things learnt
//How to use custom fonts. example (I was able to use the custom UdemySans font)
//States with Pinia
//Use the vue instruction for flowbite when installing the component library