What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-10 13:50:15
vuex-module-decorators nuxt axios
// /utils/api.ts import { NuxtAxiosInstance } from '@nuxtjs/axios' let $axios: NuxtAxiosInstance export function initializeAxios(axiosInstance: NuxtAxiosInstance) { $axios = axiosInstance } export { $axios } ------------------------ // /plugins/axi... Add solution -
Javascript 2021-11-09 23:26:14
Nuxt js '@nuxtjs/markdownit'
export default { async asyncData({ $axios, $md }) { //I am also using axios to get the content from the Strapi API. const home = await $axios.$get("/home-page"); //This is where I use $md to parse the markdown for the example in t... Add solution
Best helpers
Rocky DeHart
+5
Cynthia
+5
Eve noonan
+5
Martinako
+5
Numeri
+5
Magd
+5
John Weisz
+5
Tammy Lin
+5
Flyeogh
+5
SunnyHills
+5
Ishan Yadav
+5
Aown Ali
+5
Terry3497
+5
Xkcvk2511
+5
Jean Luis
+5