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
- Host: GitHub
- URL: https://github.com/pyncz/nuxt-extends-ignore-page
- Owner: pyncz
- Created: 2022-11-18T09:46:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T10:00:55.000Z (over 2 years ago)
- Last Synced: 2025-01-17T10:43:46.844Z (5 months ago)
- Language: Vue
- Size: 80.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 installyarn 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. 🎉