Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added the '~typo3' alias to documentation and included it in the compiler options paths (#266) #326

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*"]
}
},
}
Loading