Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: コードサンプルの修正 #239

Merged
merged 1 commit into from
Jan 18, 2023
Merged

docs: コードサンプルの修正 #239

merged 1 commit into from
Jan 18, 2023

Conversation

knokmki612
Copy link
Member

以下の箇所との差異が生じていたことへの対応です

const posts = ref(null);
const load = async () => {
/**
* Fetch APIを使用することによってあらかじめ配置された
* `/public/wp-json/wp/v2/posts.json` ファイルを取得しています
*/
const response = await fetch("/wp-json/wp/v2/posts.json");
posts.value = await response.json();
};
load();

@knokmki612 knokmki612 merged commit c4b5542 into main Jan 18, 2023
@knokmki612 knokmki612 deleted the knokmki612-patch-1 branch January 18, 2023 06:43
@knokmki612 knokmki612 added the documentation Improvements or additions to documentation label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant