Add initial project setup with Vite, Mantine, and Docker configuration
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import StudioEditor from '@grapesjs/studio-sdk/react';
|
||||
import '@grapesjs/studio-sdk/style';
|
||||
|
||||
// ...
|
||||
<StudioEditor
|
||||
options={{
|
||||
// ...
|
||||
project: {
|
||||
type: 'email',
|
||||
default: {
|
||||
pages: [
|
||||
{
|
||||
component: '<mjml><mj-body><mj-section><mj-column><mj-text>My email</mj-text></mj-column></mj-section></mj-body></mjml>'
|
||||
},
|
||||
]
|
||||
},
|
||||
},
|
||||
i18n: {
|
||||
locales: {
|
||||
en: {
|
||||
actions: {
|
||||
importCode: {
|
||||
content: 'Paste here your MJML code and click Import'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}}
|
||||
/>
|
||||
Reference in New Issue
Block a user