Skip to content

Demonstrating that a page with a conditionally empty component breaks nuxt's routing

Notifications You must be signed in to change notification settings

PSalmers/nuxt-router-issue-demo

Repository files navigation

nuxt_bug_repro

So if the root component of a page is conditionally empty (eg v-if="false"), navigating to that page breaks the vue-router?

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ yarn run generate

For detailed explanation on how things work, checkout Nuxt.js docs.

About

Demonstrating that a page with a conditionally empty component breaks nuxt's routing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published