You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i would like to thank that framework is awesome...
i tried and explorer the framework for my project. it is possible to render the menu (sidebar) where the menu item from the external API?? any one could give me an example??
Thank you
The text was updated successfully, but these errors were encountered:
// Assuming you have Axios installed
import axios from 'axios';
export default {
data() {
return {
menuItems: [],
};
},
mounted() {
// Fetch menu data from the external API
axios.get('your_external_api_url')
.then((response) => {
this.menuItems = response.data; // Assuming the API returns an array of menu items
})
.catch((error) => {
console.error('Error fetching menu data:', error);
});
},
};
Hii Guys,
i would like to thank that framework is awesome...
i tried and explorer the framework for my project. it is possible to render the menu (sidebar) where the menu item from the external API?? any one could give me an example??
Thank you
The text was updated successfully, but these errors were encountered: