3 ms·
how is the transition from aurelia 1 to 2? my app has actually very little aurelia specific code so i expect this should not be to hard. if only i can find an
by em-bee 3y ago
how is the transition from aurelia 1 to 2?
my app has actually very little aurelia specific code so i expect this should not be to hard. if only i can find an aurelia 2 equivalent of this version that works without any build system: https://news.ycombinator.com/item?id=36971080 https://news.ycombinator.com/item?id=36971080
- DigitalSea 3y agoThe syntax and overall paradigm of Aurelia 2 is the same. The team avoided where possible a repeat of what Angular did to the community with the transition to Angular 2. Most notable differences are routing and dynamic composition. There is a build system free version documented here. Is this what you mean? https://docs.aurelia.io/developer-guides/cheat-sheet#script-tag-vanilla-js https://docs.aurelia.io/developer-guides/cheat-sheet#script-... If you need any help porting it over, just let me know.
- em-bee 3y agothat looks interesting, but it doesn't seem to work. https://unpkg.com/aurelia/dist/native-modules/index.js https://unpkg.com/aurelia/dist/native-modules/index.js doesn't resolve. i tried https://unpkg.com/aurelia/dist/native-modules/index.mjs https://unpkg.com/aurelia/dist/native-modules/index.mjs which does resolve, but it links to a dozen other files which all don't seem to resolve either. it looks like unpkg.com is rather broken. with aurelia 1 there was a downloadable archive (which still exists) that had everything bundled that i could just unpack and it was ready to run. it didn't even need a server to host the files if i was running a browser on the same machine. the original documentation for that is here: http://web.archive.org/web/20160903072827/http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/quick-start/1 http://web.archive.org/web/20160903072827/http://aurelia.io/... basically there are two things i am looking for: i want to be able to develop the application without using browser-sync or build steps and it appears the version you linked promises that. but i also want to be able to host and develop the application completely offline without any need for internet access. the reason for that is that i am using the application (in production as it were) while i am developing new features or fix bugs that i discover while using it. running the transpiler in the browser doesn't bother me, it's been fast enough so far. i would use aurelia-cli if i could figure out how to make it build a development version without browser-sync and without transpiling and compressing the code before it is deployed.