From 07c36192b8e2b14d4f8c2c03f545df77fd505464 Mon Sep 17 00:00:00 2001 From: yang <30883395+webvs2@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:22:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90docs=E3=80=91=EF=BC=9ACode=20example?= =?UTF-8?q?=20'setup'=20is=20missing=20(#7153)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * flx * flx【docs】:Modify the official website code example, switch TS to JS, the top of the example should be '` : ''; @@ -139,13 +139,13 @@ import ColorChunk from '@/components/ColorChunk'; import TokenTable from '@/components/TokenTable'; import ComponentTokenTable from '@/components/ComponentTokenTable'; -export default { +export default { components: { ColorChunk, - TokenTable, + TokenTable, ComponentTokenTable - }, - pageData: ${JSON.stringify(pageData)} + }, + pageData: ${JSON.stringify(pageData)} } ${fetchCode(content, 'style')}