UNPKG
vue-runtime-helpers
Version:
latest (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.0
Runtime helpers for Vue SFC.
github.com/znck/vue-runtime-helpers
znck/vue-runtime-helpers
vue-runtime-helpers
/
dist
/
inject-style
/
server.d.ts
11 lines
(10 loc)
•
275 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
StyleSource
{
source
:
string
;
media
?:
string
;
moduleName
?:
string
;
module
?: { [
key
:
string
]:
string
; };
map
?:
any
; }
export
default
function
createInjectorSSR
(
context
:
any
):
(
id
:
string
,
style
:
StyleSource
) =>
void
;