Quellcode durchsuchen

Corrected example: Changed next build to next export (#200)

* Changed next build to next export

Propper comand to export a static site is next export. See [here](https://nextjs.org/docs#usage)

* Corrected build command per suggestion

Both next build && next export are needed

Co-Authored-By: Jacob Bolda <me@jacobbolda.com>

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
BenoitRanque vor 5 Jahren
Ursprung
Commit
cd85d681b7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      examples/react/next.js/package.json

+ 1 - 1
examples/react/next.js/package.json

@@ -4,7 +4,7 @@
   "private": true,
   "scripts": {
     "dev": "next dev",
-    "build": "next build",
+    "build": "next build && next export",
     "start": "next start",
     "tauri:prod": "tauri",
     "tauri:source": "node ../../../cli/tauri.js/bin/tauri",