Good morning, I am working on a quasar project with a graphql api, I installed the app-extension-apollo extension, but I am interested in being able to execute the queries and mutations in .js files and not in .vue files, how can I import the apollo in my .js file so I can do something like apollo.query ()
R
Latest posts made by rainer9202
-
Graphql Extension
-
RE: Mode SSR get error in first run
@beets i call the splide component in a another page, don’t in a boot file.
-
RE: Mode SSR get error in first run
@beets Splide is a carousel component that I use on a page and the error appears in the node_modules file of the package
import Splide from './components/Splide'; <--- here the error appears !!! import SplideSlide from './components/SplideSlide'; export default { install( Vue, options ) { Vue.component( Splide.name, Splide ); Vue.component( SplideSlide.name, SplideSlide ); } }; export { Splide, SplideSlide };
-
Mode SSR get error in first run
I have a quasar project where i add ssr mode but i get the error:
import Splide from ‘./components/Splide’;
Cannot use import statement outside a moduleSplide is in node_modules folder…
The project work fine in spa and pwa mode…