├── .babelrc.js ├── .browserslistrc ├── .eslintrc.json ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── dev └── index.html ├── dist ├── 143.react-umd-demo-component.js ├── 143.react-umd-demo.js ├── 195.react-umd-demo-component.js ├── 195.react-umd-demo.js ├── 240.react-umd-demo-component.js ├── 240.react-umd-demo.js ├── 569.react-umd-demo-component.js ├── 569.react-umd-demo.js ├── 742.react-umd-demo-component.js ├── 742.react-umd-demo.js ├── react-umd-demo-component.d.ts ├── react-umd-demo-component.js ├── react-umd-demo.css └── react-umd-demo.js ├── package.json ├── readme.md ├── src ├── Main.tsx ├── component │ └── ErrorBoundary.tsx ├── index.ts ├── pages │ ├── NotFound.tsx │ ├── Page1.tsx │ ├── Page2.tsx │ └── ReduxTest.tsx ├── store │ ├── hooks.ts │ ├── index.ts │ └── slices │ │ └── counterSlice.ts ├── style │ └── global.less └── utils │ └── tools.ts ├── tsconfig.json ├── typings ├── index.d.ts └── react-umd-demo-component.d.ts ├── webpack.config.js ├── webpack.config.react.js └── yarn.lock /.babelrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/.babelrc.js -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- 1 | last 2 versions 2 | > 0.5% 3 | IE 10 -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | .vscode 3 | .husky 4 | package.json 5 | node_modules -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/.prettierrc -------------------------------------------------------------------------------- /dev/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dev/index.html -------------------------------------------------------------------------------- /dist/143.react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/143.react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/143.react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/143.react-umd-demo.js -------------------------------------------------------------------------------- /dist/195.react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/195.react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/195.react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/195.react-umd-demo.js -------------------------------------------------------------------------------- /dist/240.react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/240.react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/240.react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/240.react-umd-demo.js -------------------------------------------------------------------------------- /dist/569.react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/569.react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/569.react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/569.react-umd-demo.js -------------------------------------------------------------------------------- /dist/742.react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/742.react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/742.react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/742.react-umd-demo.js -------------------------------------------------------------------------------- /dist/react-umd-demo-component.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/react-umd-demo-component.d.ts -------------------------------------------------------------------------------- /dist/react-umd-demo-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/react-umd-demo-component.js -------------------------------------------------------------------------------- /dist/react-umd-demo.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/react-umd-demo.css -------------------------------------------------------------------------------- /dist/react-umd-demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/dist/react-umd-demo.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/readme.md -------------------------------------------------------------------------------- /src/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/Main.tsx -------------------------------------------------------------------------------- /src/component/ErrorBoundary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/component/ErrorBoundary.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/pages/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/pages/NotFound.tsx -------------------------------------------------------------------------------- /src/pages/Page1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/pages/Page1.tsx -------------------------------------------------------------------------------- /src/pages/Page2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/pages/Page2.tsx -------------------------------------------------------------------------------- /src/pages/ReduxTest.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/pages/ReduxTest.tsx -------------------------------------------------------------------------------- /src/store/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/store/hooks.ts -------------------------------------------------------------------------------- /src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/store/index.ts -------------------------------------------------------------------------------- /src/store/slices/counterSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/store/slices/counterSlice.ts -------------------------------------------------------------------------------- /src/style/global.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/style/global.less -------------------------------------------------------------------------------- /src/utils/tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/src/utils/tools.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/typings/index.d.ts -------------------------------------------------------------------------------- /typings/react-umd-demo-component.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/typings/react-umd-demo-component.d.ts -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/webpack.config.js -------------------------------------------------------------------------------- /webpack.config.react.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/webpack.config.react.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BugHunter7788/react-umd-demo/HEAD/yarn.lock --------------------------------------------------------------------------------