New Node website / no Bootstrap or data

Something very weird is happening i my 3.9.7. If I create a simple project using Node and then on the index page I am showing a list of cars. All looks great in the dev view but when I view in the browser I just get the table columns with no formatting and no data.

I’ve looked in the Chrome dev tools console log and there are no errors. Very weird. Any ideas?

Hi, are you sure you are not trying to preview a content page directly in your browser?
Content pages need a layout page, and they are loaded through the layout page.

I think something has changed recently as I’ve seen a couple posts referring back to a video in the getting started course. Just creating a content page used to work, but now doesn’t.

@Teodor I’ll make a note in that video that instructs people to use a layout now.

@funcoder Sorry for the confusion!

1 Like

That was a bug which we fixed a few versions back. It wrongly created a full page with head tags, when no layout was selected and that's why it used to work.

1 Like

Ah I didn’t realise I needed a layout page. I now have created a content page and added Bootstrap and App Connect to it and now it works.

Thanks!!!

1 Like

Got it. Makes sense...I'm doing a refresh of the course but in the meantime, I'll patch it up to hopefully reduce the confusion.

1 Like

8 posts were split to a new topic: NodeJs content pages behavior changed