unable to load grapesjs-blocks-basic in angular cli 18 #6352
Answered
by
artf
chetan-bbc
asked this question in
Q&A
Replies: 1 comment
-
import grapesjs from 'grapesjs';
import plugin from 'grapesjs-blocks-basic';
const editor = grapesjs.init({
// ...
plugins: [plugin],
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chetan-bbc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, please note, we are using latest angular and nodejs version, i want to include basic blocks and am following steps as mentioned in https://github.com/GrapesJS/blocks-basic
after installing
npm i grapesjs-blocks-basic
, i am not able to see thegrapesjs-blocks-basic.min.js
in node_modules folderif i try using
import grapesjs-blocks-basic
, it is not working either. also i tried using script"node_modules/grapesjs-blocks-basic/dist/index.js",
it is also not loading the controls.can you please suggest, what correction is required. Thank you for your help in advance. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions