I have created a site that has the function,
import { writable } from 'svelte/stores ’ ;
Is there any alternative on Wix that I can create the writable function? I saw that Wix doesn’t support Svelte and I have been trying to wrap my head around this. I am making a Fantasy Football site for my league that pulls from API and other sites. Below is my full code for my stores.js:
import { writable } from 'svelte/stores ’ ;
export const awards = writable ({});
export const leagueData = writable ({});
export const upcomingDraft = writable ({});
export const previousDrafts = writable ();
export const matchupsStore = writable ({});
export const records = writable ({});
export const rostersStore = writable ({});
export const transactionsStore = writable ({});
export const users = writable ({});
export const nflState = writable ({});
export const players = writable ({});
export const news = writable ();
export const posts = writable ();
export const brackets = writable ({});
export const standingsStore = writable ({});