Skip to content

Commit

Permalink
Set correct base path (icons still not loading)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangster committed Sep 14, 2023
1 parent d8e146e commit 5ce729d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import '@shoelace-style/shoelace/dist/components/input/input.js';
import '@shoelace-style/shoelace/dist/components/option/option.js';
import '@shoelace-style/shoelace/dist/components/rating/rating.js';
import '@shoelace-style/shoelace/dist/components/select/select.js';

import { setBasePath } from '@shoelace-style/shoelace/dist/utilities/base-path.js';

// Set the base path to the folder you copied Shoelace's assets to
setBasePath('/path/to/shoelace/dist');
setBasePath('././node_modules/@shoelace-style/shoelace/dist');

export interface OptionParam {
label: string;
Expand Down

0 comments on commit 5ce729d

Please sign in to comment.