Skip to content

Commit

Permalink
transfer of styleguide to src
Browse files Browse the repository at this point in the history
  • Loading branch information
izabela.horodenska committed Apr 24, 2024
1 parent 7c80d81 commit 46c4db6
Show file tree
Hide file tree
Showing 27 changed files with 7 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions src/styleguide/ts/link.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { html } from 'lit';

export const template = () => {
return html` <a href="#">Link</a> `;
};
1 change: 1 addition & 0 deletions types/src/styleguide/ts/link.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const template: () => import("lit-html").TemplateResult<1>;
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default defineConfig(({ command, mode }) => {
const inputOptions: InputOption = {
main: resolve(__dirname, mainTsPath),
styles: resolve(__dirname, mainScssPath),
styleguide: resolve(__dirname, 'src/styleguide/')
...blocksEntries,
};

Expand Down

0 comments on commit 46c4db6

Please sign in to comment.