Skip to content

Commit

Permalink
fix(vite): adjust code block lang
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Jan 8, 2025
1 parent 4a5854e commit 2feaaf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/rest-api-application/web-application.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ You can use the `scriptAttributes` property to set attributes
on the script tags generated using the `@vite` tag. The attributes
are a collection of key-value pairs.

```ts title="Path.config('http.ts')"
```typescript title="Path.config('http.ts')"
export default {
vite: {
scriptAttributes: {
Expand All @@ -134,7 +134,7 @@ You can use the `styleAttributes` property to set attributes on
the link tags generated using the `@vite` tag. The attributes
are a collection of key-value pairs.

```ts title="Path.config('http.ts')"
```typescript title="Path.config('http.ts')"
export default {
vite: {
styleAttributes: {
Expand All @@ -147,7 +147,7 @@ export default {
You can also apply the attributes conditionally by assigning a
function to the `styleAttributes` option.

```ts title="Path.config('http.ts')"
```typescript title="Path.config('http.ts')"
export default {
vite: {
styleAttributes: ({ src, url }) => {
Expand Down

0 comments on commit 2feaaf0

Please sign in to comment.