From 7ece400a30f4a32551c79b22dfb443df106e7c9e Mon Sep 17 00:00:00 2001 From: Uaena_Alex_John <63441399+13RTK@users.noreply.github.com> Date: Mon, 20 May 2024 22:50:44 +0800 Subject: [PATCH] add specified file hint (#2022) It's not clear In [Vue Guide](https://shoelace.style/frameworks/vue#installation), the user may not know where to apply the theme and base path set, so I add file hint like [React Guide](https://shoelace.style/frameworks/react#installation) --- docs/pages/frameworks/vue.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/pages/frameworks/vue.md b/docs/pages/frameworks/vue.md index d98ddb50..bdb09c20 100644 --- a/docs/pages/frameworks/vue.md +++ b/docs/pages/frameworks/vue.md @@ -23,6 +23,7 @@ npm install @shoelace-style/shoelace Next, [include a theme](/getting-started/themes) and set the [base path](/getting-started/installation#setting-the-base-path) for icons and other assets. In this example, we'll import the light theme and use the CDN as a base path. ```jsx +// main.js or main.ts import '@shoelace-style/shoelace/dist/themes/light.css'; import { setBasePath } from '@shoelace-style/shoelace/dist/utilities/base-path';