Next.js
Next.js is a React framework. Learn more about Next.js at https://nextjs.org. This guide is accurate as of Next.js 14.2.3.
- 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
.
- Install
internal-ip
version 7 for mobile development. Version 8.0.0 does not work!
- Update Tauri configuration:
- Update Next.js configuration:
© 2024 Tauri Contributors. CC-BY / MIT