diff --git a/packages/cna-template/template/README.md b/packages/cna-template/template/README.md index a830b4e82..dea717d8a 100644 --- a/packages/cna-template/template/README.md +++ b/packages/cna-template/template/README.md @@ -41,6 +41,11 @@ Layouts are a great help when you want to change the look and feel of your Nuxt More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/layouts). +### `middleware` + +This directory contains your application middleware, which lets you define custom functions that can be run before rendering either a page or a group of pages (layout). + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/middleware). ### `pages` diff --git a/packages/create-nuxt-app/test/snapshots/index.test.js.snap b/packages/create-nuxt-app/test/snapshots/index.test.js.snap index e56978f40..026204485 100644 Binary files a/packages/create-nuxt-app/test/snapshots/index.test.js.snap and b/packages/create-nuxt-app/test/snapshots/index.test.js.snap differ