Skip to content

Commit

Permalink
feat: added the '~typo3' alias to documentation and included it in th…
Browse files Browse the repository at this point in the history
…e compiler options paths (#266)
  • Loading branch information
mateusznarowski authored and mercs600 committed Apr 17, 2024
1 parent 837550b commit 0e20bbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/from-scratch/3-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ The call to the `store` is actually done in the `nuxt-typo3` plugin. If you want

`nuxt-typo3` provides core content elements with the basic logic and markup by default. One thing you have to do to make it nicer is to add some styles. But you can also override the HTML markup and / or the Javascript logic. To do so, follow these steps:

::: tip Info
The `~typo3` alias is at your disposal, providing convenient access to components and mixins within the module.
:::

### 2.1 Create own `CeText` component

**Just add / override some CSS styles.**
Expand Down
7 changes: 6 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,10 @@
"include": [
"./lib/**/*",
"./example/**/*"
]
],
"compilerOptions": {
"paths": {
"~typo3/*": ["./node_modules/nuxt-typo3/lib/*"]
}
},
}

0 comments on commit 0e20bbe

Please sign in to comment.