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
Accessing the constants in src/domainModel/*.js requires at least an import and possibly an additional private variable declaration to make constants available to templates.
Replace with a vue plugin such that the constants can be provided to the app and the components that use them can simply inject them. E.g.
// in plugins/domainModel.jsapp.provide('domain',domainModel)
// in a componentexportdefault{inject: ['domain'],
The text was updated successfully, but these errors were encountered:
Accessing the constants in
src/domainModel/*.js
requires at least an import and possibly an additional private variable declaration to make constants available to templates.Replace with a vue plugin such that the constants can be
provided
to the app and the components that use them can simplyinject
them. E.g.The text was updated successfully, but these errors were encountered: