Comments (6)
I chose the easy solution to store the dependencies dist in repo and reference them locally to avoid new version breakage.
This solution works well on gh-pages and locally
from popoto-examples.
It looks like an issue with unpkg file resolution.
https://unpkg.com/popoto is supposed to resolve to https://unpkg.com/popoto@latest/dist/popoto.min.js
using "unpkg"
deafult parameter from package.json but it seems it's no more the case.
I'll see what I can do to improve this.
from popoto-examples.
I'm looking if I should change the dependencies references in project to avoid this kind of issue.
from popoto-examples.
Why don't we use webpack and "npm install" the package?
from popoto-examples.
I want the examples to be hosted directly in GitHub Pages of the project.
As they are statics HTML and JavaScript I just had to turn on the feature on the master branch and every examples can be tested directly with its live url.
example: https://nhogs.github.io/popoto-examples/simple-graph/index.html
Using services like unpkg or jsDelivr is an easy way to always references latest version of dependencies on client side.
One possibility would be to host dependencies in the project but trigger a new build on every new releases of a dependency. It is more complex to setup.
But you are right that I can create a NPM package of this project in order to run it locally.
Would it be useful for you?
from popoto-examples.
from popoto-examples.
Related Issues (20)
- Add an example on fit text feature
- Add example using voronoi
- Add example containing gif
- How to Remove Relations based on selection
- how to show properties in tabular form when clicking on node and relations HOT 1
- Node ID is being displayed and not label name HOT 1
- Query viewer example error HOT 2
- Cannot set property 'CYPHER_URL' of undefined even given correct url HOT 5
- How many nodes max?
- change example main readme to link to each example readme instead of direct link to live
- customize node label
- support text root query
- Sound cloud search
- Use Popoto in a React app HOT 1
- Use popoto in an Angular app
- Use Roughjs
- Use Flubber
- Finish Factual example refactoring
- Add images for movie examples
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 popoto-examples.