diff --git a/cli/initial-projects/elm-ui/package.json b/cli/initial-projects/elm-ui/package.json index eae4d27..2fd5037 100644 --- a/cli/initial-projects/elm-ui/package.json +++ b/cli/initial-projects/elm-ui/package.json @@ -21,6 +21,6 @@ "concurrently": "5.0.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa":"2.0.10" + "elm-spa":"3.0.0" } } diff --git a/cli/initial-projects/elm-ui/src/Main.elm b/cli/initial-projects/elm-ui/src/Main.elm index dcb1dbd..e77ed03 100644 --- a/cli/initial-projects/elm-ui/src/Main.elm +++ b/cli/initial-projects/elm-ui/src/Main.elm @@ -16,6 +16,7 @@ main = { routes = Routes.parsers , toPath = Routes.toPath , notFound = routes.notFound + , afterNavigate = Nothing } , global = { init = Global.init diff --git a/cli/initial-projects/html/package.json b/cli/initial-projects/html/package.json index eae4d27..2fd5037 100644 --- a/cli/initial-projects/html/package.json +++ b/cli/initial-projects/html/package.json @@ -21,6 +21,6 @@ "concurrently": "5.0.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa":"2.0.10" + "elm-spa":"3.0.0" } } diff --git a/cli/initial-projects/html/src/Main.elm b/cli/initial-projects/html/src/Main.elm index d8ffca5..56fb23e 100644 --- a/cli/initial-projects/html/src/Main.elm +++ b/cli/initial-projects/html/src/Main.elm @@ -16,6 +16,7 @@ main = { routes = Routes.parsers , toPath = Routes.toPath , notFound = routes.notFound + , afterNavigate = Nothing } , global = { init = Global.init diff --git a/cli/package-lock.json b/cli/package-lock.json index 29430e2..c94bb97 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,5 +1,5 @@ { "name": "elm-spa", - "version":"2.0.10", + "version":"3.0.0", "lockfileVersion": 1 } diff --git a/cli/package.json b/cli/package.json index 2c8ac9a..1dfd8bd 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "elm-spa", - "version": "2.0.10", + "version": "3.0.0", "description": "the cli companion tool for ryannhg/elm-spa", "main": "src/index.js", "bin": "src/index.js", diff --git a/examples/docs/package-lock.json b/examples/docs/package-lock.json index 11c65d9..e0e76f6 100644 --- a/examples/docs/package-lock.json +++ b/examples/docs/package-lock.json @@ -371,8 +371,8 @@ } }, "elm-spa": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/elm-spa/-/elm-spa-2.0.10.tgz", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/elm-spa/-/elm-spa-3.0.0.tgz", "integrity": "sha512-UtOTP4NDnkSPaf3V5I2h9PGCtjF2/9NIrYK8ctdzE24knR1L8QImA723t57RYTodQAs/meDME3sSxNoCNJ10hA==", "dev": true }, diff --git a/examples/docs/package.json b/examples/docs/package.json index 4ab2fb4..8f21684 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,6 +19,6 @@ "chokidar-cli": "2.1.0", "elm": "0.19.1-3", "elm-live": "4.0.1", - "elm-spa": "2.0.10" + "elm-spa": "3.0.0" } } diff --git a/examples/docs/src/Main.elm b/examples/docs/src/Main.elm index dcb1dbd..e77ed03 100644 --- a/examples/docs/src/Main.elm +++ b/examples/docs/src/Main.elm @@ -16,6 +16,7 @@ main = { routes = Routes.parsers , toPath = Routes.toPath , notFound = routes.notFound + , afterNavigate = Nothing } , global = { init = Global.init