mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-24 01:56:37 +00:00
- Add example /custom-routes/ - Rename example/with-store/ to examples/vuex-store/ - Feature: Add .vue at the end of the component if not specified in custom routes - Feature: Add .params and .query in the context - Feature: Add .name in route if given in custom routes
20 lines
217 B
Vue
20 lines
217 B
Vue
<template>
|
|
<p>Hello {{ name }}!</p>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data () {
|
|
return { name: 'world' }
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
p {
|
|
font-size: 20px;
|
|
text-align: center;
|
|
padding: 100px;
|
|
}
|
|
</style>
|