Comments (3)
@chrisdavies
Could you help me how to use rlite
the "old" js / script tag way?
Errors see above.
from rlite.
It works loaded as script without type=module
and as Rlite
,
But looks like it doesn't work "out of the box", because there is no route handler (for example routes like /inbox
or /test?param=val
) and no prevent default action.
from rlite.
Yup. Rlite
needs to be capitalized. Other than that, the examples in the readme should just work for you out of the box.
from rlite.
Related Issues (20)
- Test issue
- Routes with multiple parameters HOT 1
- Typo in the readme.md HOT 1
- This is the best router HOT 1
- Middleware support HOT 1
- Cannot read property 'define' of undefined HOT 3
- Hashbang/Shebang support HOT 1
- Uncaught ReferenceError: rlite is not defined HOT 6
- Not a flexible language for setting a template HOT 3
- Greedy parameter matching HOT 5
- Error when matching conflicting URLs in one edgecase
- Possible wildcard match bug HOT 7
- Percent signs in request results in "URI malformed" error HOT 2
- Dumb question HOT 1
- support history api? HOT 3
- Example without hash based routing
- Implement Hash routing but leaving the root location alone.
- Publish to npm? HOT 4
- Uppercase routes
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 rlite.