SeyyedKhandon
SeyyedKhandon
I think you didn't pay attention to the problem, The problem here is, it will break by letter, not by word!
it's been answered in https://github.com/dkundel/create-project/issues/2#issuecomment-491822814 ``` const templateDir = path.resolve( new URL(currentFileUrl).pathname.substring(new URL(currentFileUrl).pathname.indexOf('/')+1), '../../templates', options.template.toLowerCase() ); ```
@jakeherp I've provided the complete answer in this [merge request](https://github.com/lydiahallie/javascript-questions/pull/698), because there was no updated answer or the answer could not be modified based on your explanation.
I've provided the complete answer in this [merge request](https://github.com/lydiahallie/javascript-questions/pull/698).
is there any en version of this presentation or en article? thanks in advance
> Would you be able to provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction)? 🙏 > > More info It's not possible for me, I mentioned that in the issue, let's see if anyone has...
> >  > This custom hook did _not_ solve the hydration error here... > NextJS 13.4.9, Next-Themes 0.2.1, Tailwind 3.3.2 can you provide a reperex?( reproducible example)
> Sure. There is a piece of the system in a tar. [demo_themes.zip](https://github.com/pacocoursey/next-themes/files/11986991/demo_themes.zip) Thank you, It would be very good if you could share with a codesandbox instead of zip...
You just need to make sure the component is loaded on client side using an `useEffect + isMounted useState`: [more info](https://github.com/pacocoursey/next-themes#avoid-hydration-mismatch) ``` import { useState, useEffect } from 'react' import...
@jakeherp I've provided the complete answer in this [merge request](https://github.com/lydiahallie/javascript-questions/pull/698) because there was no updated answer or the answer could not be modified based on your explanation.