For my latest project, I dived into the world of Next JS with Tailwind CSS and decided to use "next build" to compile it. However, after running the command, it generated a folder named ".next", but surprisingly no .html files were found within.
Coming from an Angular background where things are more straightforward with "ng build," this difference caught me off guard.
Hosting my projects on All Inkl added another layer of complexity as it was unable to process the Next JS files.
All the files in my project are .js files, which might be causing the issue.
I'm looking for a way to host my Next JS project on my server similar to how Angular projects are deployed. Any suggestions?
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
images: {
unoptimized: true,
}
}
module.exports = nextConfig
Despite trying every solution recommended by Google and ChatGPT, none seem to resolve the issue at hand.