Skip to content

How to set up a dynamic route using front matter #29

Answered by kwchang0831
nemu1113 asked this question in Q&A
Discussion options

You must be logged in to vote

@nemu1113 Your request has been fulfilled as of (63efeeb).

The doc is also updated: https://docs-svelte-qwer.vercel.app/config/qwer-config-js#special-routing-rules

Migrate your QWER.config.js.

export const UserConfig = {
  ...
+  RoutingRules: {
+    PostsYearMonthDate: true,
+  },
};

Let me know if there is any issues.

Also, I have not yet tested 300+ articles. Hopefully QWER is able to handle that many posts. I suspect the performance of index page will degrade. Just not sure by how much.

However, I expect PWA offline feature to make consecutive visits work as a charm without delaying while loading the posts. Hmmm...let's see... (finger crossed).

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kwchang0831
Comment options

Comment options

You must be logged in to vote
1 reply
@nemu1113
Comment options

Answer selected by nemu1113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants