Hi @CristalT,
The way I have managed to successfully add my “plugins” is using the boot files, quasar’s boot files.
in quasar.conf.js
my boot is loaded in such:
boot: [
{ path: "axios" },
{ path: "i18n", server: false },
{ path: "bootstrap" , server: false},
{ path: "api", server: false },
{ path: "hello" , server: false},
{ path: "init-waelio" , server: false},
],
for example my bootstrap.js
file looks as such:
import { Config, Storage, Note } from "src/plugins";
export default async ({ app, store, Vue }) => {
Vue.prototype.$storage = Storage;
app.storage = Storage;
store.$storage = Storage;
Vue.prototype.$config = Config;
store.$config = Config;
app.config = Config;
Vue.prototype.$note = Note;
app.note = Note;
store.$note = Note;
return;
};
export { Storage, Config, Note };
Maybe its more than what you need, but it is a working example
Good luck