Update to use isStatic

This commit is contained in:
Sebastien Chopin 2017-08-17 15:11:28 +02:00
parent c1d2d4c626
commit 646ad35815

View File

@ -7,9 +7,9 @@
<script>
export default {
asyncData ({ req }) {
asyncData ({ isStatic, isServer }) {
return {
name: req ? 'server' : 'client'
name: isStatic ? 'static' : (isServer ? 'server' : 'client')
}
}
}