Skip to content

waynetee/supersimpleguide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

179 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to React Router!

A modern, production-ready template for building full-stack React applications using React Router.

Features

  • 🚀 Server-side rendering
  • ⚡️ Hot Module Replacement (HMR)
  • 📦 Asset bundling and optimization
  • 🔄 Data loading and mutations
  • 🔒 TypeScript by default
  • 🎉 TailwindCSS for styling
  • 📖 React Router docs

Getting Started

Installation

Install the dependencies:

npm install

Development

Start the development server with HMR:

npm run local-do
npm run dev

Your application will be available at http://localhost:5173.

Building for Production

Create a production build:

npm run build

Deployment

Deployment is done using the Wrangler CLI.

To deploy directly to production:

npx wrangler deploy

To deploy a preview URL:

npx wrangler versions upload

You can then promote a version to production after verification or roll it out progressively.

npx wrangler versions deploy

Styling

This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framework you prefer.


Built with ❤️ using React Router.

Updating lexical

Solution 1 of https://stackoverflow.com/questions/23937436/add-subdirectory-of-remote-repo-with-git-subtree

git fetch lexical

git diff --color=never acdda870cdfdef1:packages/lexical-playground lexical/latest__release:packages/lexical-playground | git apply -3 --directory=app/components/editor/lexical

git diff --color=never acdda870cdfdef1:packages/shared lexical/latest__release:packages/shared | git apply -3 --directory=app/components/editor/lexical-shared

git log lexical/latest__release

Releases

Packages

Contributors

Languages