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
There are a lot of cases where we need to modify the main.js file (or main.ts). For example importing modules, adding options to the instance and such.
Proposed API:
// Generatorapi.extendScript('./src/main',file=>{// Import a filefile.import('{ apolloProvider }','./vue-apollo')// Direct importfile.import('./style.css')// Add an option to the instancefile.extendOptions({provide: 'apolloProvider.provide()',})})
The text was updated successfully, but these errors were encountered:
There are a lot of cases where we need to modify the
main.js
file (ormain.ts
). For example importing modules, adding options to the instance and such.Proposed API:
The text was updated successfully, but these errors were encountered: