Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

devslane/vite-react-redux-tailwind-boilerplate

Repository files navigation

This is aReactJS +Vite boilerplate to be used withTailwindcss,Redux.

What is inside?

This project uses many tools like:

Getting Started

Install

Create the project.

npx degit https://github.com/devslane/vite-react-redux-tailwind-boilerplate my-app

Access the project directory.

cd my-app

Install dependencies.

yarn

Serve with hot reload athttp://localhost:3000.

yarn run dev

Details

  • Change the title of the webpage

    • Go toindex.html
    • Change the text intitle tag
  • How to use .env variables ?

    • Add env variables to .env file (use .env.[development/production] as per your current environment)

    • UseVITE_ prefix to your env variables to let vite compiler know that these variables can be publicly accessed.

    • This is as per personal choice. Use a separate env constant file to export the env variables. (Vite uses not a good to eye method to use the env variables :) ). See example below

constENV_CONFIG={BACKEND_URL:import.meta.env.VITE_BACKEND_URL!};exportdefaultENV_CONFIG;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp