reverse-proxy-frontend/private/Notes.txt

22 lines
570 B
Plaintext

withTranslation()(LegacyComponentClass)
const { t } = this.props;
import { useTranslation } from 'react-i18next';
function MyComponent() {
const { t, i18n } = useTranslation();
##############################################################################################
Docker commands:
*****************
Create image:
--from solution folder:
docker image build -t "reverse-proxy-frontend:1.0.0" .
Run image:
docker run -p 5055:80 -it reverse-proxy-frontend:1.0.0
##############################################################################################