Comments (4)
I also tried the pre-built tutorial at https://github.com/prevwong/craft.js/blob/main/examples/basic and
- does not build with
npm
and requiresyarn
for the workspace features yarn build
fails with multipleError: Unable to resolve path to module '@craftjs/core'
errors.
EDIT: I got it to work using yarn build:all
from the root directory.
from craft.js.
I got my version of the tutorial working by using the deprecated @material-ui/core
, though I do not understand why dnd does not work with @mui/material
or my company's UI component library.
from craft.js.
I just created a demo with the latest version of @mui/material
and it seems to work fine: https://stackblitz.com/edit/stackblitz-starters-autnnk?file=app%2Fpage.tsx
from craft.js.
I'm not sure what I did wrong last week, but I have it working now.
Sorry for wasting your time.
from craft.js.
Related Issues (20)
- Multiple frames inside of an editor HOT 1
- User Component name doesn't change when specified in config HOT 1
- Nested elements are created as Linked Nodes instead of child nodes HOT 1
- How do I drag my saved serialized json into the editor? HOT 4
- The rollup packaging of the Craft.js project was successful, but when used, it reported an error "Buffer is not defined."
- Cancel drop HOT 2
- How do i get my html markup HOT 2
- Craft.js with React version 17 or 18 HOT 2
- Customizeable drag and drop HOT 1
- Rollup cache is published to NPM
- Avoid animation of the element snapping back to its origin position when element is dropped. HOT 1
- Something like maxlength or max content restrictions
- Rendering a Navbar with dynamic menu items (e.g. Home, Blog) HOT 1
- Question: can I load html into the editor instead of manually build? HOT 1
- addNodeTree error
- Allow Import of Element/Components from outside project
- isDeletable is inadequate - or just plain wrong.
- Selected node is reset when i interact with editor on production HOT 1
- Non string literal Element id result in corrupt json HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft.js.