Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

nuxt generate only causes 404 #89

@alidcast

Description

@alidcast

@medfreeman I'm still getting 404 when I run nuxt generate (instead of nuxtent generate with previous binaries)

JSON files are generated but it seems like pages are not compiled appropriately. For example with multiple content type example I get:

==== Error report ==== 
Route: '/nuxtent' thrown an error: 
{"statusCode":404,"message":"This page could not be found"}

Route: '/ency' thrown an error: 
{"statusCode":404,"message":"This page could not be found"}

If I serve the site, the client navigation works fine but refreshing page displays not found error.

Also related to #88, if we stick to not having binaries we have to let users specify static=true some other way, e.g. via config, so that browser URL can be set appropriately and static files can be generated.

This question is available on Nuxt.js community (#c76)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions