Next.js
Next.js is a meta framework for React. Learn more about Next.js at https://nextjs.org. This guide is accurate as of Next.js 14.2.3.
Checklist
- Use static exports by setting
output: 'export'
. Tauri doesn’t support server-based solutions. - Use
internal-ip
for mobile compatibility so you can configureassetPrefix
. This is required so that the server properly resolves assets. - Use
out/
asfrontendDist
intauri.conf.json
.
Example Configuration
-
Version 8.0.0 does not work!
-
-
Update Next.js configuration
-
Update package.json configuration
© 2024 Tauri Contributors. CC-BY / MIT