Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting with Tailwind & Remix #431

Closed
InTheCloudDan opened this issue Aug 30, 2022 · 6 comments
Closed

Formatting with Tailwind & Remix #431

InTheCloudDan opened this issue Aug 30, 2022 · 6 comments

Comments

@InTheCloudDan
Copy link

Thanks for the amazing library, I'm trying to get it configured but I'm not sure if because of SSR that the **Hello world!!!** string is constantly showing above the textarea? I've tried using different preview settings none of them seem to affect that line

return useMemo(() => {
if (!markdown) {
return <pre ref={preRef} className={`${prefixCls}-text-pre wmde-markdown-color`} />;
}
unless the whole textarea is hidden.

Also Is there also any guidance for how to get the toolbar showing normally in remix with tailwind?

image

@jaywcjlove
Copy link
Member

@InTheCloudDan Can an instance be provided using codesandbox.io ?

@InTheCloudDan
Copy link
Author

@jaywcjlove I'm working on it, I have a basic remix app running in the sandbox now, but when I go to add the ESM files serverDependenciesToBundle it tells me Upgrade Required, any idea how to get around that? https://codesandbox.io/s/codesandbox-sse-example-forked-1vvl7z?file=/remix.config.js

I think it's due to /build/index.js is larger than maximum allowed file size (1457058 > 524288), not synchronizing

@cliffordfajardo
Copy link

cliffordfajardo commented Aug 31, 2022

I think it's due to /build/index.js is larger than maximum allowed file size (1457058 > 524288), not synchronizing

Regarding the codesandbox error
@InTheCloudDan - i think the remix template is out of date. You'll need to add a .gitignore file to the root of your remix project to resolve the problem. More details on the error here
codesandbox/codesandbox-client#6786

I also recommend you use Kiliman's remix template anytime you create a new codesandbox. Its the one Ive had least trouble with
CleanShot 2022-08-30 at 20 08 44@2x

@jaywcjlove
Copy link
Member

The component style is not loaded. I have seen many people encounter this problem with remix.

@InTheCloudDan
Copy link
Author

thanks @jaywcjlove and @cliffordfajardo I'll follow along on those remix issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants