-
-
Notifications
You must be signed in to change notification settings - Fork 454
chore: docs guides remix - upgrade from classic to vite #1351
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe recent updates to the Remix guide focus on enhancing the project setup with TailwindCSS integration. This includes the addition of peer dependencies necessary for TailwindCSS, creation of new configuration files, and updates to import paths. The refactor also involves renaming the primary function from Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Actionable comments outside the diff hunks (1)
apps/web/content/docs/guides/remix.mdx (1)
Line range hint
154-154
: Correct the spelling of "GitHub" to maintain consistency with the official branding.- [Github](https://github.com/themesberg/flowbite-react-template-remix) + [GitHub](https://github.com/themesberg/flowbite-react-template-remix)
Review Status
Configuration used: CodeRabbit UI
Files selected for processing (1)
- apps/web/content/docs/guides/remix.mdx (4 hunks)
Additional comments not posted (4)
apps/web/content/docs/guides/remix.mdx (4)
45-45
: Ensure thetailwind.config.ts
andpostcss.config.js
files are correctly generated and configured for your project's needs. This step is crucial for customizing Tailwind CSS to work efficiently with your Remix project.
72-74
: The import statement forstylesheet
uses a URL import, which is specific to Vite. Ensure that this import method is compatible with your project setup and that the Vite configuration is properly set up to handle CSS file imports.
124-124
: Rename the main function fromApp
toLayout
to better reflect its role within the Remix application. This change aligns with the PR's objectives and helps clarify the function's purpose.
141-141
: Demonstrate the use of Flowbite React components within a Remix route. This example helps users understand how to integrate and utilize Flowbite React in their projects.
Description
Due to Remix CLI command
npx create-remix@latest
update to the new dev server usingvite
, we also need to keep up with the changes in the integration guides and update both the docs and the CLI template.Changes
remix
- upgrade from classic to viteNote: also upgraded the template repo.
Summary by CodeRabbit
App
toLayout
for clarity.