cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Xv
Resolver I
Resolver I

When working on a Powerpages portal locally in VS Code, is it possible to live preview the portal with CSS loaded?

I'm am hoping to be able to work locally on a Powerpages portal, to edit page layouts and CSS.

Is it possible to preview the webpage I am working on with CSS styles loaded?

 

Currently preview displays just the webpage itself without loading header, thus styling.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Xv
Resolver I
Resolver I

I linked the CSS files in the html file that I was editing - then removed the link before publishing. All in al it worked well.

 

View solution in original post

2 REPLIES 2
eugenevanstaden
Resolver III
Resolver III

@Xv 

Are you using the Portal CLI to unpack the portal config in VS? Dont think you can view the pages locally. 

You can always create static HTML pages locally - confirm the layout and structure and then cut up the HTML into your Web Template

Xv
Resolver I
Resolver I

I linked the CSS files in the html file that I was editing - then removed the link before publishing. All in al it worked well.

 

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Top Solution Authors
Users online (6,046)