miraxes / angular-custom-tour

Custom tour hints
24 stars 12 forks source link

Not able to see styling effects #9

Closed pnagar1705 closed 6 years ago

pnagar1705 commented 6 years ago

Hi, I referred the readMe and injected the hintService in my component class. I also imported the styling as suggested on ReadMe, but not able to see any effect. I have the following in my Component

....html, styles: [require('..., "styles.scss", "../node_modules/angular-custom-tour/styles/main.css"], providers: [HintService] }) On my html I have the following at the top of the page.

<button name="button" (click)="startTour()"> START TOUR!

and then the following at the bottom

COPYPASTED from bootstrap site
$
.00
miraxes commented 6 years ago

@pnagar1705 Hi there

You can try to import styles in your styles.scss, which is in root dir.

go in there and @import '../node_modules/angular-custom-tour/styles/main.css';

Let me know if this helps

pnagar1705 commented 6 years ago

No, still not able to render CSS

pnagar1705 commented 6 years ago

there was an error in referring . Fixed it