Portage du site sous vuejs #232
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const htmlContent = ref("");
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
axios
|
axios
|
||||||
.get(`${props.path}.md`)
|
.get(`/${props.path}.md`)
|
||||||
.then((response) => (htmlContent.value = marked.parse(response.data)))
|
.then((response) => (htmlContent.value = marked.parse(response.data)))
|
||||||
.catch(
|
.catch(
|
||||||
() =>
|
() =>
|
||||||
|
|
Loading…
Reference in a new issue