Update examples

This commit is contained in:
Sébastien Chopin 2017-02-10 02:22:33 +01:00
parent bc47bdb24b
commit e7f0200a58
8 changed files with 9 additions and 12 deletions

View File

@ -1,10 +1,11 @@
{ {
"name": "custom-loading", "name": "nuxt-custom-loading",
"description": "",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "latest"
}, },
"scripts": { "scripts": {
"start": "nuxt" "dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start"
} }
} }

View File

@ -1,6 +1,5 @@
{ {
"name": "nuxt-global-css", "name": "nuxt-global-css",
"description": "",
"dependencies": { "dependencies": {
"bulma": "^0.2.3", "bulma": "^0.2.3",
"hover.css": "^2.0.2", "hover.css": "^2.0.2",

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="container"> <div class="container">
<h1>About page</h1> <h1>About page</h1>
<p>Click below to see the custom meta tags added with our custom component <code>twitter-head-card</code></p> <p>Check the source code to see the custom meta tags added with our custom component <code>twitter-head-card</code></p>
<twitter-head-card></twitter-head-card> <twitter-head-card></twitter-head-card>
<p><nuxt-link to="/">Home page</nuxt-link></p> <p><nuxt-link to="/">Home page</nuxt-link></p>
</div> </div>

View File

@ -1,5 +1,5 @@
{ {
"name": "i18n", "name": "nuxt-i18n",
"dependencies": { "dependencies": {
"axios": "^0.15.3", "axios": "^0.15.3",
"nuxt": "latest" "nuxt": "latest"

View File

@ -1,6 +1,5 @@
{ {
"name": "nuxt-custom-routes", "name": "nuxt-nested-routes",
"description": "",
"dependencies": { "dependencies": {
"nuxt": "latest" "nuxt": "latest"
}, },

View File

@ -1,6 +1,5 @@
{ {
"name": "nuxt-plugins-vendor", "name": "nuxt-plugins-vendor",
"description": "",
"dependencies": { "dependencies": {
"axios": "^0.15.2", "axios": "^0.15.2",
"mini-toastr": "^0.3.10", "mini-toastr": "^0.3.10",

View File

@ -10,7 +10,7 @@ import axios from 'axios'
export default { export default {
data () { data () {
return axios.get('http://jsonplaceholder.typicode.com/photos/4').then(res => res.data) return axios.get('https://jsonplaceholder.typicode.com/photos/4').then(res => res.data)
} }
} }
</script> </script>

View File

@ -1,6 +1,5 @@
{ {
"name": "routes-transition", "name": "nuxt-routes-transitions",
"description": "",
"dependencies": { "dependencies": {
"axios": "^0.15.3", "axios": "^0.15.3",
"nuxt": "latest" "nuxt": "latest"