Skip to content

Commit

Permalink
add specified file hint (#2022)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
13RTK authored May 20, 2024
1 parent 06a27dd commit 7ece400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/frameworks/vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 7ece400

Please sign in to comment.