Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotFound component doesn't work #1130

Closed
1 task done
dcastil opened this issue Dec 23, 2018 · 6 comments
Closed
1 task done

NotFound component doesn't work #1130

dcastil opened this issue Dec 23, 2018 · 6 comments
Labels
type: bug Something isn't working

Comments

@dcastil
Copy link
Contributor

dcastil commented Dec 23, 2018

  • I confirm that this is a issue rather than a question.

Bug report

Version

vuepress@1.0.0-alpha.30

Steps to reproduce

$ git clone git@github.com:vuejs/vuepress.git
$ cd vuepress
$ yarn
$ yarn dev

Then navigate to localhost:8080/not-existent in any browser.

What is expected?

Seeing the standard 404 page.

What is actually happening?

A blank page is rendered and I get an error about an unknown custom element <NotFound> as shown in the screenshot below.

screenshot 2018-12-23 at 23 10 01

Other relevant information

  • Your OS: Mac OS Mojave 10.14.2
  • Node.js version: v10.14.2
  • Browser version: Chrome v71.0.3578.98
  • Is this a global or local install? Local
  • Which package manager did you use for the install? Yarn

Relates to #1124

@htakao
Copy link

htakao commented Dec 24, 2018

I have the same problem.
OS: Windows10
Node: v10.14.2
Browser: Chrome v71 and Firefox 64

@DerZade
Copy link

DerZade commented Dec 24, 2018

Same Problem for me.

@zhangyuhan2016
Copy link

@dcastil @htakao @duncan
Hi~
I don't know the standard solution, but you can use the following :

Refer to this directory structure directory-structure

Create a new NotFound.vue in the components folder.

Rerun and you'll get the results you want.

@nunibaranes
Copy link

Same problem for me,
OS: Mac OS Mojave 10.14.2
Node: v10.14.2
Browser: Chrome v71 and Firefox 64

@ulivz
Copy link
Member

ulivz commented Jan 8, 2019

@nunibaranes It has been fixed but not released yet.

@nunibaranes
Copy link

@nunibaranes It has been fixed but not released yet.

Can you tell me if it could be until next week?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants