Comments (6)
My bad, I managed to understand what you meant in #6 and fixed it (I thought the es5 build was auto-implement with the alias)!
For those who, like me, has trouble to understand, it can be fix by adding the follow line in your webpack, after the exclude: /node_modules/
:
include: '/node_modules/@dogstudio/highway/build/es5/highway.js',
Anway, thanks a lot guys!
from highway.
@ivandaum I found a better solution to your problem. In your case you exclude completely node_modules
and if you add a new library you will have to add the new library in include.
I prefer to import the right file into javascript:
import Highway from '@dogstudio/highway/build/es5/highway.js';
In the documentation:
import Highway from '@dogstudio/highway';
😊👋
from highway.
Hello @ivandaum can you provide us some more informations about your Highway version ? Maybe try an update of it in case your version is behind ?
Thanks for you input,
Thao
from highway.
Hi @ThaoD5,
I'm currently using Higthway 2.0.8.
from highway.
It could be interesting to have your webpack.config.js
here so that we can maybe figure things out faster, would this be possible for you ?
from highway.
@ivandaum glad you found a solution for this, thanks for maybe enlightening other people that could have the same issue :)
Have a good day !
from highway.
Related Issues (20)
- Javascript functions doesn't works on the second time HOT 1
- Locomotive scroll not updating after page transition HOT 3
- I can't get the HIGHWAY.redirect() to work HOT 1
- Updating CSS for incoming page – (Highway maintains the outgoing page's CSS) HOT 5
- data-transition attribute no longer works in 2.2.2 HOT 2
- Update /refresh/bind links dynamically created with javascript HOT 1
- New href with highway HOT 13
- Adding additional headers to page requests
- Add index.d.ts file for better IDE typehinting
- back/forward buttons pressed during transition break the website
- Facebook Pixel Tracking HOT 3
- Fatal error on transition to mismatching URL scheme, while remaining on the same domain
- Can't work with CDN
- Improper use of DOM events
- Highway not working with DOM elements rendered by javascript HOT 1
- H.redirect always refresh page HOT 1
- Help
- H is undefined HOT 1
- Navigation with parameters and anchor not working
- Javascript not working after page transition 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 highway.