UNPKG
vue-with-keep-alive
Version:
latest (2.4.0)
3.4.0
3.3.2
3.3.0
3.2.9
3.2.3
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.0
2.4.0
2.3.2
2.3.0
2.2.9
2.2.3
2.1.1
2.1.0
2.0.0
0.1.1
0.1.0
with keep-alive component
github.com/ByePastHub/vue-with-keep-alive
ByePastHub/vue-with-keep-alive
vue-with-keep-alive
/
src
/
render.js
18 lines
(17 loc)
•
315 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export
function
render
(
)
{
const
_vm
= this;
const
_h
= _vm.
$createElement
;
const
_c
= _vm._self._c || _h;
return
_c
(
'keep-alive'
, {
attrs
: {
include
: [].
concat
(_vm.includeList),
max
: _vm.max,
exclude
: _vm.exclude }, }, [
_c
(
'router-view'
)],
1
); }