Initial Strapi plugin project
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Main } from '@strapi/design-system';
|
||||
import { useIntl } from 'react-intl';
|
||||
|
||||
import { getTranslation } from '../utils/getTranslation';
|
||||
|
||||
const HomePage = () => {
|
||||
const { formatMessage } = useIntl();
|
||||
|
||||
return (
|
||||
<Main>
|
||||
<h1>Welcome to {formatMessage({ id: getTranslation('plugin.name') })}</h1>
|
||||
</Main>
|
||||
);
|
||||
};
|
||||
|
||||
export { HomePage };
|
||||
Reference in New Issue
Block a user