Verify that the access domain name displays content.
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>
);
}
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
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!
As always, thanks to our amazing contributors!
Made with github-action-contributors.
Licensed under the MIT License.