cra-template-pdf-vite-react
v1.7.8
Published
The base TypeScript template for Create Vite React App.
Downloads
20
Maintainers
Readme
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:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.