Fixed typos

This commit is contained in:
Pascal Borreli 2016-11-18 04:02:43 +01:00
parent 49f67566c2
commit e4b202e7d9
6 changed files with 6 additions and 6 deletions

View File

@ -63,7 +63,7 @@ const Nuxt = require('nuxt')
const options = { const options = {
routes: [], // see examples/custom-routes routes: [], // see examples/custom-routes
css: ['/dist/boostrap.css'] // see examples/global-css css: ['/dist/bootstrap.css'] // see examples/global-css
store: true // see examples/vuex-store store: true // see examples/vuex-store
plugins: ['public/plugin.js'], // see examples/plugins-vendor plugins: ['public/plugin.js'], // see examples/plugins-vendor
loading: false or { color: 'blue', failedColor: 'red' } or 'components/my-spinner' // see examples/custom-loading loading: false or { color: 'blue', failedColor: 'red' } or 'components/my-spinner' // see examples/custom-loading

View File

@ -4,7 +4,7 @@
## Usage ## Usage
In `nuxt.config.js` file, add the CSS ressources: In `nuxt.config.js` file, add the CSS resources:
```js ```js
const { resolve } = require('path') const { resolve } = require('path')

View File

@ -1,4 +1,4 @@
# Using external modules and plugings with nuxt.js # Using external modules and plugins with nuxt.js
## Configuration: `build.vendor` ## Configuration: `build.vendor`

View File

@ -13,7 +13,7 @@ if (process.BROWSER) {
// Binding for methods .success(), .error() and etc. You can specify and map your own methods here. // Binding for methods .success(), .error() and etc. You can specify and map your own methods here.
// Required to pipe our outout to UI library (mini-toastr in example here) // Required to pipe our outout to UI library (mini-toastr in example here)
// All not-specifyed events (types) would be piped to output in console. // All not-specified events (types) would be piped to output in console.
const options = { const options = {
success: toast, success: toast,
error: toast, error: toast,

View File

@ -58,7 +58,7 @@ export default context => {
<% } %> <% } %>
return promise return promise
.then(() => { .then(() => {
// Call data & fecth hooks on components matched by the route. // Call data & fetch hooks on components matched by the route.
return Promise.all(Components.map((Component) => { return Promise.all(Components.map((Component) => {
let promises = [] let promises = []
if (!Component.options) { if (!Component.options) {

View File

@ -8,7 +8,7 @@ const { urlJoin } = require('../../utils')
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Webpack Shared Config | Webpack Shared Config
| |
| This is the config which is extented by the server and client | This is the config which is extended by the server and client
| webpack config files | webpack config files
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */