vitmalina / w2ui-starter-es6 Goto Github PK
View Code? Open in Web Editor NEWStarting point for web apps based on w2ui and es6 modules.
License: MIT License
Starting point for web apps based on w2ui and es6 modules.
License: MIT License
Issue
Cannot get w2ui-starter-es6 template to work with latest master/dist
Using
w2ui.es6.min.js /* w2ui 2.0.x (nightly) (6/30/2022, 6:16:19 AM) (c) http://w2ui.com, [email protected] /
w2ui.css / w2ui 2.0.x (nightly) (6/5/2022, 10:08:30 AM) (c) http://w2ui.com, [email protected] */
Error:
Uncaught TypeError: Cannot read properties of undefined (reading 'type')
at new w2event (w2ui.es6.min.js:2:59)
at new Router (router.js:6:9)
at router.js:254:14
Hi,
I see there is a way to use the W2UI library in a "legacy" mode, but all the examples are built in ES6 so translating into legacy is complicated.
My question is, is there a way to use the flat files as ES6 modules so that they don't have to be invoked as "legacy" when the host server doesn't have any other way to access the files other than as .min.js? I've encountered errors trying to use the more advanced features due to not knowing how to call them because of the "legacy" structure not matching the ES6 structure.
Thanks,
PF-Tech
Would it be posible to get a webjars maven dependency for w2ui 2.0?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.