mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 01:17:16 +00:00
Fixed typos
This commit is contained in:
parent
49f67566c2
commit
e4b202e7d9
@ -63,7 +63,7 @@ const Nuxt = require('nuxt')
|
||||
|
||||
const options = {
|
||||
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
|
||||
plugins: ['public/plugin.js'], // see examples/plugins-vendor
|
||||
loading: false or { color: 'blue', failedColor: 'red' } or 'components/my-spinner' // see examples/custom-loading
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
## Usage
|
||||
|
||||
In `nuxt.config.js` file, add the CSS ressources:
|
||||
In `nuxt.config.js` file, add the CSS resources:
|
||||
|
||||
```js
|
||||
const { resolve } = require('path')
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Using external modules and plugings with nuxt.js
|
||||
# Using external modules and plugins with nuxt.js
|
||||
|
||||
## Configuration: `build.vendor`
|
||||
|
||||
|
@ -13,7 +13,7 @@ if (process.BROWSER) {
|
||||
|
||||
// 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)
|
||||
// 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 = {
|
||||
success: toast,
|
||||
error: toast,
|
||||
|
@ -58,7 +58,7 @@ export default context => {
|
||||
<% } %>
|
||||
return promise
|
||||
.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) => {
|
||||
let promises = []
|
||||
if (!Component.options) {
|
||||
|
@ -8,7 +8,7 @@ const { urlJoin } = require('../../utils')
|
||||
|--------------------------------------------------------------------------
|
||||
| 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
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user