Skip to content

uiwjs/react-domain-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

276fc17 · Apr 7, 2023

History

49 Commits
Apr 7, 2023
Dec 17, 2020
Jan 10, 2022
Apr 7, 2023
Aug 29, 2021
Jan 10, 2022
Dec 17, 2020
Mar 7, 2022
Apr 7, 2023
Mar 7, 2022
Apr 7, 2023

Repository files navigation

react-domain-verify

Build & Deploy issues issues Forks Stars Release npm version

Verify that the access domain name displays content.

Quick Start

npm i @uiw/react-domain-verify
import DomainVerify from '@uiw/react-domain-verify';

function Demo() {
  return (
    <div>
      <DomainVerify href="https://uiwjs.github.io">
        访问 https://uiwjs.github.io 域名显示子组件
      </DomainVerify>
      <DomainVerify href="https://uiw.gitee.io">
        访问 https://uiw.gitee.io 域名显示子组件
      </DomainVerify>
      <DomainVerify href="uiw.gitee.io">
        访问 https://uiw.gitee.io 和 http://uiw.gitee.io 域名显示子组件
      </DomainVerify>
    </div>
  );
}

Development

Runs the project in development mode.

# Step 1, run first, listen to the component compile and output the .js file
# listen for compilation output type .d.ts file
npm run watch
# Step 2, development mode, listen to compile preview website instance
npm run start

Production

Builds the app for production to the build folder.

npm run build

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

Contributors

As always, thanks to our amazing contributors!

Made with github-action-contributors.

License

Licensed under the MIT License.