* feat(theme)!: migrate `plugin-markdown-hint` * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * chore: tweak * fix(theme): improve `home-blog` styles in mobile, close #210 * chore: tweak * chore: tweak
5 lines
154 B
TypeScript
5 lines
154 B
TypeScript
// Single quote will break @vue/compiler-sfc
|
|
export function stringifyProp(data: unknown): string {
|
|
return JSON.stringify(data).replace(/'/g, ''')
|
|
}
|