|
Lines 2-9
export const $__ = key => {
Link Here
|
| 2 |
return window["__"](key); |
2 |
return window["__"](key); |
| 3 |
}; |
3 |
}; |
| 4 |
|
4 |
|
|
|
5 |
export const $__p = (ctx, key) => { |
| 6 |
return window["__p"](ctx, key); |
| 7 |
}; |
| 8 |
|
| 5 |
export default { |
9 |
export default { |
| 6 |
install: (app, options) => { |
10 |
install: (app, options) => { |
| 7 |
app.config.globalProperties.$__ = $__; |
11 |
app.config.globalProperties.$__ = $__; |
|
|
12 |
app.config.globalProperties.$__p = $__p; |
| 8 |
}, |
13 |
}, |
| 9 |
}; |
14 |
}; |
| 10 |
- |
|
|