saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.97k stars 229 forks source link

next.js warning: The static directory has been deprecated in favor of the public directory. #63

Closed alexnitta closed 4 years ago

alexnitta commented 4 years ago

When running yarn dev, I see this warning in the console:

The static directory has been deprecated in favor of the public directory. https://err.sh/zeit/next.js/static-dir-deprecated

I think the fix may be as simple as updating the static file paths to use public instead.

saltyshiomix commented 4 years ago

Thanks @alexnitta ,

You may use old examples of nextron. Latest examples are renamed to public already :)

alexnitta commented 4 years ago

Ah, I see. Thank you!

saltyshiomix commented 4 years ago

@alexnitta You're welcome :)

If you have any troubles, feel free to open issues 👍