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.

example multiple-content-types not work with 404 error #83

@alterhu2020

Description

@alterhu2020

Environment

OS Version: Windows 7 Enterprise SP1
NodeJS: 8.5.0
NPM: 5.4.2
Nuxt: latest
Nuxtent-module: latest (1.0.0)

Hi team,
It's too sad that I had to say that the example in you official repository still not work for you current latest release version.

Steps to reproduce

  1. Download the example code: https://github.com/nuxt-community/nuxtent-module/tree/master/examples/multiple-content-types
  2. Try command npm install
  3. Try command npm run dev
  4. Open the browser url: http://localhost:3000
  5. Click the link See all my posts

Actual Result

  1. When navigate to the root url :http://localhost:3000, it will show below exception:
[Vue warn]: Method "$delete" conflicts with an existing Vue instance method. Avo
id defining component methods that start with _ or $.

image

  1. When click the link 'See all my posts', it will totally go to 404 page.
GET http://localhost:3000/content-api/posts/? 404 (Not Found)

image

I think it caused by incorrect axios's baseURL setting. could you try it in your side?
thanks.

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

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