vue-windicss-preprocess
vue-windicss-preprocess copied to clipboard
Error: Nuxt is stuck at the generated time
I'm following the migration guide to convert from nuxt-tailwind
to windi
But dev server stuck to generate these files.
Here is the "reproduce repo": https://github.com/sondh0127/nuxt21-windi
The problem is with third party libs: (e.g. vue-scroll component). https://github.com/sondh0127/nuxt21-windi/blob/fc448ece95cacf8ce6e759b3215834c4ac00489d/pages/index.vue#L25
-
When I commented out vue-scroll, the process is still stuck.
-
If I remove the vue-scroll component, the generated process will be finished.
It is stuck for me as well. Also I noticed in the task manager that the corresponding node process keeps the processor busy; A don't have vue-scroll
installed. ( [email protected] )
~~Fixed in 2.1.0~~
I have a large project with many third party dependencies and this problem is still present in 2.1.0
I have a very large nuxt project too and i've followed guides for nuxt and the build is stuck here (it seems random)
I'm facing a similar and believe it to be caused by using <style>
tags on pages/components/layouts (in nuxt). Removing these tags allows the build to progress.
@sondh0127 @schneefux @victorgarciaesgi are you able to confirm whether you have .vue files with <style>
tags and whether removing them resolves the issue?
@adam-nygate Yes I have <style>
on my layout components, i will try to remove it!
I will also try the module nuxt-windicss