Tyr4el
Explore posts from serversUnexpected token ';' when refreshing every page
I don't know what's causing this and it's driving me insane. I keep getting an error "Unexpected token ';' and then the attached trace. I can't figure out why. Some refreshing of files may fix it sometimes or if I navigate back home then go back to where I was, that can fix it too. But why is this happening?
9 replies
Child page/component replace parent page/component?
I have a child page of let's say parent/. The parent page has a layout as well that adds a sidebar for matching routes.
So I have
/playground.vue
playground/
playground/child.vue
I have it right now so that I can get to playground.vue and playground/child.vue but the playground.vue content is still on the page. I just want to swap the content. Is that possible? I'm probably not explaining well.
13 replies
Keep default layout across all pages but use another layout that adds something on others?
Is it possible to have a default layout that includes things like a header/navbar and footer and that is used on all pages but other pages may add other components in their own layout?
23 replies
Syntax highlighting in postcss style blocks
Did I miss something in the docs or am I missing something in VS Code that would enable syntax highlighting in postcss style blocks? I can use them and they work (though hot reload maybe doesn't?) but I lose the syntax highlighting. I just want to be able to use @apply Tailwind rules.
29 replies