Skip to content

Commit e9aaaae

Browse files
committed
README.md links to deployed app, added attribution in Home & About components
1 parent ba73b18 commit e9aaaae

File tree

4 files changed

+8
-64
lines changed

4 files changed

+8
-64
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
This is a basic starter project for a prerendered [Vue](https://vuejs.org/) frontend with a [Netlify lambda function](https://www.netlify.com/docs/functions/) backend.
44

5+
##### [You can view the deployed app here](https://vue-netlify-lambda-prerender.netlify.com/)
6+
57
The Vue app is prerendered for improved SEO - you can learn more about server-side rendering and prerendering with Vue [here](https://ssr.vuejs.org/#ssr-vs-prerendering). Includes [vue-router](https://router.vuejs.org/), [vuex](https://vuex.vuejs.org), [axios](https://github.com/axios/axios), the [vue-cli-plugin-netlify-lambda](https://github.com/netlify/vue-cli-plugin-netlify-lambda), and the [prerender-spa-plugin](https://github.com/chrisvfritz/prerender-spa-plugin).
68

9+
**NOTE:** this project can only be deployed via Netlify with [continuous deployment](https://www.netlify.com/docs/continuous-deployment/) enabled.
710

811
## Project setup
912
```

src/components/HelloWorld.vue

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/views/About.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<div class="about">
33
<h1>This is an about page</h1>
44
<h4>This page will be rendered statically after running <code>yarn build</code></h4>
5+
An example app by <a href="https://github.com/aeksco">@aeksco</a>
56
</div>
67
</template>

src/views/Home.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,16 @@
99
<pre v-if="loading">LOADING...</pre>
1010
<pre v-else>{{msg}}</pre>
1111

12+
<hr>
13+
14+
An example app by <a href="https://github.com/aeksco">@aeksco</a>
15+
1216
</div>
1317
</template>
1418

1519
<script>
16-
// @ is an alias to /src
17-
import HelloWorld from '@/components/HelloWorld.vue'
18-
1920
export default {
2021
name: 'home',
21-
components: {
22-
HelloWorld
23-
},
2422
mounted () {
2523
this.$store.dispatch('fetchMessage')
2624
},

0 commit comments

Comments
 (0)