UNPKG
@vue-storefront/theme-starter
Version:
latest (1.4.1)
1.4.1
1.4.0
1.3.0
1.3.0-alpha.2
1.3.0-alpha.1
1.3.0-alpha.0
1.3.0-alpha
1.0.0
1.0.0-rc.3
Scaffolding for building Vue Storefront themes
@vue-storefront/theme-starter
/
extensions
/
example
/
index.js
9 lines
(7 loc)
•
280 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
EXTENSION_KEY
=
'theme_default_example'
export
default
function
(
app, router, store, config
) { app.$on(
'application-after-init'
,
() =>
{
console
.
debug
(
'Hello from custom theme extension'
) })
return
{
EXTENSION_KEY
,
extensionRoutes
:
null
,
extensionStore
:
null
} }