Comments (7)
Hi @philgyford , are you using some sort of js preprocessor like webpack or brunch? if it's so you can import the libraries, check this repo https://github.com/michelson/dante2-tests.
from dante2.
Thanks. I'm not using a preprocessor - I have a directory of JS files (which will probably get minified and combined later) and I'm using Sass to compile the CSS files.
from dante2.
@michelson I get https://github.com/michelson/dante2-tests and try run yarn install yarn run
and this is full of errors
this is the same problem like import Editor to ES6 in own project.
from dante2.
Hi , I've tested again the repo and is working fine.
try this: yarn upgrade Dante2
then yarn start
from dante2.
@michelson still the same errors. BTW yarn display warnings because https://github.com/michelson/dante2-tests/blob/master/package.json in dev and dependencies is different version for babel-core and babel-loader
sass-loader need to node-sass and extract-text-webpack-plugin plugin doesn't exists in version 2.0.0-beta but 2.0.0-beta.1 - 2.0.0-beta.5 or higher
After delete this warning still I see problems. And when I see code this is logic.
All my log
@michelson For me it's strange. Look at this image
here is node_modules/Dante2 structure and your import in
https://github.com/michelson/dante2-tests/blob/master/index.js
But also if we will change path to file. In dante2 src/index.js you import
import Dante from './components/dante'
import DanteEditor from './components/dante_editor'
but in this files this is exported not as default and throw error
from dante2.
Can't run dante2-tests either, even after yarn upgrading Dante2. Error coming from extract-text-webpack-plugin it seems... Any thought?
from dante2.
dante2-tests updated with latest version of dante2, 0.4.0 and is working as expected now
ps: if you use dante-test with a development version of Dante2 (aka: from github) you will need to run the build command on the node_module, so: cd ./node_modules/Dante2
& yarn build
please reopen this issue if you get something wrong
from dante2.
Related Issues (20)
- How to upload images HOT 1
- Images not displayed HOT 12
- Dante Editor not rendering content HOT 3
- onChange not being triggered HOT 1
- title placeholder does not show in editor
- How to add another side button without forking the library ? HOT 3
- issues with save_handler and immutability when trying to update entries HOT 4
- onChange not work! HOT 2
- Tooltip link option doesn't show text HOT 1
- Tooltip link assumes base URL HOT 1
- Medium (+) tooltip on mobile left property not set correctly.
- Can't run app locally. npm start unexpected error HOT 1
- Delete at mobile browser
- use Focus at Dante
- Error: Element ref was specified as a string (image_popover) but no owner was set. HOT 10
- how to limit content ?
- DanteInlineTooltipConfig path is missing HOT 1
- Element ref was specified as a string (editor) but no owner was set. HOT 1
- How to use convertFromHTML
- new Dante version, repo changed
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 dante2.