bminer / meteor-blade Goto Github PK
View Code? Open in Web Editor NEWMeteor Smart Package for Blade - HTML Template Compiler, inspired by Jade & Haml
Meteor Smart Package for Blade - HTML Template Compiler, inspired by Jade & Haml
Hello!
Do you intend to update blade for 1.x? We very much need an html preprocessor...)
After upgrading to Meteor 6.5 the Blade templates are no longer loaded into the Template
variable;
Uncaught TypeError: Cannot call method 'events' of undefined
I suspect this has something to do with the new api.export
requirement;
Packages must explicitly declare which symbols they export with
api.export
inpackage.js
.
mrt add blade
✓ blade
tag: https://github.com/bminer/meteor-blade.git#v3.2.6meteor2
Done installing smart packages
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
=> Errors while scanning packages:
While building package blade
:
package.js:7:9: Package.register_extension() is no longer supported. Use Package._transitional_registerBuildPlugin instead.
since you have "helpers-hack.js" file
all custom helpers get empty parameters!
I spent a lot of time to find it... Still thinking how to fix it....
[boil over]
The hack with defineProperty to auto-call helpers if they're functions makes me sad. But there's a few better reasons than aesthetics why I don't like it:
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.