これをnuxt.jsのpagesディレクトリで以下のように再現しました。 > tree /f pages │ index.vue │ _article.vue │ ├─category │ _page.vue │ └─page _page.vue nuxt.config.jsではこのように動的ルーティングを生成しています。 nuxt.config.js generate: { async routes() { const generates = []; let categoryarray = []; /*/postsではカテゴリーはIDで入ってくるため先にカテゴリー一覧を取得する*/ await axios.get("https://tech.gmogshd.com/wp-json/wp/v2/categories") .then((res)=> { res.data.map(c => {