-
-
Save ea2305/5a063cb1b01821e0f21c27ad8fbe387f to your computer and use it in GitHub Desktop.
example ssr - vue app update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app.vue | |
<template> | |
<div id="app"> | |
<img alt="Vue logo" src="./assets/logo.png"> | |
<HelloWorld msg="Welcome to Your Vue.js App"/> | |
</div> | |
</template> | |
<script> | |
import HelloWorld from './components/HelloWorld.vue' | |
export default { | |
name: 'app', | |
metaInfo: { | |
title: 'My Example App', | |
titleTemplate: '%s - Yay!', | |
htmlAttrs: { | |
lang: 'en', | |
amp: true | |
} | |
}, | |
components: { | |
HelloWorld | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment