An open API service indexing awesome lists of open source software.

https://github.com/pyncz/nuxt-extends-ignore-page

Workaround how to ignore some resources of the apps you're extending from
https://github.com/pyncz/nuxt-extends-ignore-page

Last synced: 3 months ago
JSON representation

Workaround how to ignore some resources of the apps you're extending from

Awesome Lists containing this project

README

        

# Workaround how to ignore some resources of the apps you're extending from

You can simply add unwanted pages, components etc into the `.nuxtignore` file of your main app:

```bash
# .nuxignore
sub-app/pages/to-ignore.vue
```

[See docs](https://nuxt.com/docs/guide/directory-structure/nuxtignore#nuxt-ignore-file).

## Setup

```bash
yarn install
cd sub-app && yarn install

yarn run dev
```

After the app is up, you can check that the extended `/about` page is available, but the `/to-ignore` page we added to `.nuxtignore` gives you a 404. 🎉