nextron
nextron copied to clipboard
Support for Next 13 App
I need to use Next 13 App with its corresponding features and directory structure.
When installed, I found nextron adds next 12.3.4 version with its package.json.
Can I upgrade directly to next 13.4.5?
How can I reorganize the directory structure to use app
, api
, [other]
, etc ?
Can can I setup nextron to start at src\page.tsx
as on NextJs 13?
@saltyshiomix when is the upgrade to nextjs 13 coming?
@kacperkwapisz CC: @remendes
Sorry for late reply 🙇
I will release nextron@9
this month or next month!
Here is a new roadmaps:
- https://github.com/saltyshiomix/nextron/issues/398
@saltyshiomix if next13 is already supported. can we upgrade our existing repo using prev nextron ?
next js 13.3 works with nextron i use it but i am happy when it is offical @saltyshiomix
@remendes @kacperkwapisz @aztran @noevermaurice
Sorry for late reply and inconvenience.
I just released nextron v9.0.0, which supports next.js v13 and v14. If you have time, please try it :) (and it will fix the errors, I believe)
NOTE:
Please update renderer/next.config.js as belows:
module.exports = {
output: 'export',
// we want to change distDir to "app" so as nextron can build the app in production mode!
distDir: process.env.NODE_ENV === 'production' ? '../app' : '.next',
trailingSlash: true,
images: {
unoptimized: true,
},
}