cra-template-pdf-vite-react

1.7.8 • Public • Published

cra-template-pdf-vite-react

Usage

To use this template within your project, add --template cra-template-pdf-vite-react when creating a new app.

For example:

npx create-react-app my-app --template cra-template-pdf-vite-react

# or

yarn create react-app my-app --template cra-template-pdf-vite-react

Nginx 代理 && base path

# suffix 代理标识

# 静态 index.html 代理
# root 目录
location ^~/root_suffix {
  alias /path;
}

# api 接口代理
location ^~/suffix/ {

}

# .env.production
VITE_BASENAME=/api/micro-app/${suffix}/
VITE_API_BASE_URL=https://admin.thape.com.cn

Cloning this repo pulls down the Redux template only; not a bundled and configured Create React App.

For more information, please refer to:

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cra-template-pdf-vite-react

      Weekly Downloads

      3

      Version

      1.7.8

      License

      MIT

      Unpacked Size

      523 kB

      Total Files

      39

      Last publish

      Collaborators

      • ringobool