splitup common.js

This commit is contained in:
2023-02-20 11:39:44 +10:00
parent 1d0030e34f
commit 7de134683d
21 changed files with 382 additions and 405 deletions

View File

@@ -20,7 +20,7 @@ const parsedContent = computed(() => {
`<a ([^>]*?)href="${import.meta.env.APP_URL}(.*?>.*?)</a>`,
"ig"
);
html = props.html.replaceAll(regex, '<router-link $1to="$2</router-link>');
html = props.html.replace(regex, '<router-link $1to="$2</router-link>');
return {
template: `<div class="content">${html}</div>`,