This example shows how you can use Next.js inside an Tauri application to avoid a lot of configuration.
When trying to run npm start
it will build serve them on localhost:3000
.
Execute npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example https://github.com/haikbvn/with-tauri with-tauri-app
# or
yarn create next-app --example https://github.com/haikbvn/with-tauri with-tauri-app
# or
pnpm create next-app --example https://github.com/haikbvn/with-tauri with-tauri-app