Skip to content

What is the actual way to work with ngx-ui-tour in an ionic app? #140

Answered by hakimio
hvma411 asked this question in Q&A
Discussion options

You must be logged in to vote

It's the same like in any other Angular application. If you want to use component or directive in your html template, you have to import the Angular module or standalone component/directive providing that component/directive.

The same applies to tourAnchor directive: if you want to use it, you have to import either TourIonPopoverModule which defines both the tourAnchor directive and <tour-step-template> component or just import the standalone TourAnchorIonPopoverDirective directive.

If you are using smart IDE like "JetBrains Webstorm", it will warn you about the missing import:

Check the lazy tour demo source code for more info.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hvma411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants