Open codenomnom opened 1 year ago
This is expected and also goes for a default Nuxt only project. If you want a prestyled project for documentation sites you can use for example Docus or other projects from @nuxt-themes
This is what a default Nuxt-only project looks like:
Why would the content bootstrap have absolutely no styling whatsoever? π€
...
That's just the <NuxtWelcome>
component. Otherwise, that project would look unstyled too.
Your main idea here is, that you think, that the onboarding should have a styled component to introduce one to the project, instead of a plain appearance?
I got it. Thanks for the information.
That being said, would it be great if there's such a component for Content as well? I mean... it looks terrible π If it self-contains everything it needs, it would be easier not to use it and move on...
@codenomnom Feel free to drop a PR in https://github.com/nuxt/starter/tree/content to improve starter UI Contribution is more than welcome π
A neat way to do it would be to extend NuxtWelcome
to accept variants <NuxtWelcome variant="nuxt-content" />
It's not very straightforward though as this is done there https://github.com/nuxt/assets/blob/main/packages/templates/templates/welcome/index.html
It might easier to do a NuxtContentWelcome
that is inspired by the other design.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Environment
Build Modules: -
Reproduction
Created a new project with the very basic command described in the docs:
npx nuxi@latest init content-app -t content
. Then just entered the folder and started the server usingnpm run dev
.Describe the bug
The page initially loads normally, showing the regular nuxt "loading" page - the big logo, mouse moving around creating fancy effect π
Then, shortly after I see
Nitro built in 1892 ms
, the page seems to be completely stripped out of style:Is this what I really want to see? I'd bet there should be some basic styling, right? Restarting the server does nothing.
I've also tried creating a basic Nuxt app, without content, and it's working properly, showing "Welcome to Nuxt".
Additional context
Here's is the result of the source, during loading and afterwards:
loading
:after
:Logs
No response