Skip to content

Commit

Permalink
Merge pull request #20 from AkeemAllen/bugfix/sveltkit-slug-issue
Browse files Browse the repository at this point in the history
Bugfix/sveltkit slug issue
  • Loading branch information
AkeemAllen authored May 17, 2024
2 parents ab2e1fb + 16c1f43 commit ad9cfc9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wikigen",
"version": "0.5.1",
"version": "0.5.2",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wiki_gen"
version = "0.5.1"
version = "0.5.2"
description = "A Desktop Application to generate wikis for Pokemon Rom Hacks"
authors = ["Akeem Allen"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "WikiGen",
"version": "0.5.1"
"version": "0.5.2"
},
"tauri": {
"allowlist": {
Expand Down
6 changes: 6 additions & 0 deletions src/routes/game-routes/[slug]/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ export function load({ params }) {
title: params.slug,
};
}

export function entries() {
return [{ slug: "hello-world" }];
}

export const prerender = true;

0 comments on commit ad9cfc9

Please sign in to comment.