-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a96bbe
commit 07a4d1f
Showing
4 changed files
with
2,155 additions
and
2,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ const Home = { | |
`, | ||
mounted() { | ||
// initialize grapesjs | ||
grapesjs.init({ | ||
var editor = grapesjs.init({ | ||
container: '#gjs', | ||
height: '100vh', | ||
showOffsets: true, | ||
|
@@ -209,12 +209,23 @@ const Home = { | |
], | ||
}, | ||
// Add peppu and other plugins. | ||
plugins: ['peppu-sidebar', 'peppu-panel', "gjs-blocks-basic", "grapesjs-plugin-forms", 'grapesjs-style-bg'], | ||
plugins: ['peppu-sidebar', 'peppu-bootstrap', 'peppu-panel', "gjs-blocks-basic", "grapesjs-plugin-forms", 'grapesjs-style-bg'], | ||
pluginsOpts: { | ||
'peppu-sidebar': { /* Test here your options */ }, | ||
'peppu-bootstrap': {}, | ||
'gjs-blocks-basic': { flexGrid: true }, | ||
}, | ||
canvas: { | ||
styles: [ | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
], | ||
scripts: [ | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
], | ||
} | ||
}); | ||
editor.setComponents(); | ||
editor.setStyle(); | ||
} | ||
} | ||
const Auth = { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.