nuxt content theme - UI misses some styles
See original GitHub issueVersion
@nuxt/content: 0.10.2 nuxt: 2.15.2
Reproduction Link
https://codesandbox.io/s/angry-jackson-7fk2n?file=/content/en/setup.md
Hello everyone since the update from nuxt 2.14.x
to 2.15.x
the Ui css has problems.
if i change back to nuxt 2.14.12, I get the following error.
Module build failed (from ./node_modules/babel-loader/lib/index.js): friendly-errors 09:32:04
Error: /Users/*****/dev/test/.nuxt/client.js: Cannot find module '@babel/preset-env/lib/utils'
and if I then additionally install the "@babel/preset-env": "7.12.17"
, then it looks right.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
[ANNOUNCEMENT] The Docs Theme is moving away... #726
Some pending pull requests have been merged to the docs-theme but we will stop merging ... nuxt content theme - UI misses some...
Read more >font-awesome icons losing css style after nuxt generate
I have the same issue. In my case though, css classes are present in the element but their css definition is missing under...
Read more >Going dark with Nuxt color mode
Table of Contents ... Install the color-mode module; Adding your color styles ... Now you need to add some styles to your mode...
Read more >The best Vue.js Frameworks 2022
Nuxt is an opinionated framework that helps you create performant and SEO-friendly fullstack Vue apps. Nuxt focuses on the UI rendering aspect ...
Read more >Bulding with Nuxt.JS for a Vue ecommerce platform - Medusajs
To do that, first, you will create a Nuxt.js project and set up some simple ... </script> <style> .btn-ui { @apply py-2 px-4...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
version
0.10.1
all styles works well.but latest 0.10.2 font size and several styles missing.
The reason for this is the version bump of
@tailwindcss/typography
from 0.2.0 to 0.4.0 in https://github.com/nuxt/content/pull/768.From the
@tailwindcss/typography
docs:But the theme still relies on TailwindCSS v1.x and is currently not compatible with v2.0+.
So currently this works: