Skip to content

Commit

Permalink
docs(runtime): fetch global.css from snippets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Nov 25, 2024
1 parent fa2dbb1 commit a9577b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/documentation/src/utils/code-runtime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function getVueRuntime(baseUrl: string) {

await Promise.all(runtime$);
const globalCss = await docusaurusFetch(
`${baseUrl}auto-generated/previews/vue/styles/global.css`
`${baseUrl}auto-generated/previews/vue/global.css`
);
runtime['src/styles/global.css'] = globalCss;
return runtime;
Expand Down Expand Up @@ -88,7 +88,7 @@ export async function getAngularRuntime(baseUrl: string) {
await Promise.all(runtime$);

const globalCss = await docusaurusFetch(
`${baseUrl}auto-generated/previews/angular/styles/global.css`
`${baseUrl}auto-generated/previews/angular/global.css`
);
runtime['src/styles.css'] = globalCss;
return runtime;
Expand Down

0 comments on commit a9577b6

Please sign in to comment.