press
press copied to clipboard
can't resolve './presloglayoutlog.vue' in '~.nuxt`
Turns out that when you npx nuxt generate on windows, you end up with this built into the .nuxt\App.js file
import _2d21d098 from './press\blog\layouts\blog.vue' // <----
import _6f6c098b from '..\\layouts\\default.vue'
note how other normal stuff escapes backslashes \
\b is an escape code for backspace, hence ./press\blog\layouts\blog.vue becoming ./presloglayoutlog.vue
Also, this problem affects contributing to nuxt/press on windows.
I have tried to clone the repo and run examples, but Nuxt throw me an error during build.
I believe there is a problem in the press/blueprint's resolveFiles and how it resolves templates.