next-app-template icon indicating copy to clipboard operation
next-app-template copied to clipboard

assetPrefix Error In build Process And dev Process

Open danaadev opened this issue 1 year ago • 2 comments

Hi, when i set assetPrefix to '.' no problem when build with scripts and styles And have error with next/font that are saying assetPrefix must start with leading slash when i set assetPrefix to '/' when start next with yarn dev no problem occurred but when build project no styles and scripts loaded ,how handle this problem

danaadev avatar Oct 04 '23 23:10 danaadev

You should ask it in the Next.js community, this question is outside of the scope of the project.

rtivital avatar Oct 05 '23 06:10 rtivital

Thanks

danaadev avatar Oct 06 '23 23:10 danaadev