SvelteJS 前端框架
Svelte 是一个前端 UI 框架。
特性:
-
解决网站的臃肿危机。Svelte 将你的模板变成快速、轻量级的 vanilla JavaScript。
-
简单易用。使用你掌握的语言,从可组合、易写的模块中构建应用。
-
快速而又坚固。编译时静态分析确保浏览器不再需要更多的工作。
API:
import * as svelte from 'svelte'; const { code, map } = svelte.compile( source, { // the target module format – defaults to 'es' (ES2015 modules), can // also be 'amd', 'cjs', 'umd' or 'iife' format: 'umd', // the filename of the source file, used in e.g. generating sourcemaps filename: 'MyComponent.html', // the name of the constructor. Required for 'iife' and 'umd' output, // but otherwise mostly useful for debugging. Defaults to 'SvelteComponent' name: 'MyComponent', // for 'amd' and 'umd' output, you can optionally specify an AMD module ID amd: { id: 'my-component' }, // custom error/warning handlers. By default, errors will throw, and // warnings will be printed to the console. Where applicable, the // error/warning object will have `pos`, `loc` and `frame` properties onerror: err => { console.error( err.message ); }, onwarn: warning => { console.warn( warning.message ); } });
评论
javaex前端框架
javaex前端框架当前版本:3.0.0项目介绍由java程序员以后端开发者的使用角度而设计并开发的前端框架,不修改原生html、js语法,不创造新的语法。基于原生、忠于原生,零门槛快速上手。基于jq
javaex前端框架
0
AngularWeb 前端框架
Angular是一款十分流行且好用的Web前端框架,目前由Google维护。这个条目收录的是Angular2及其后面的版本。由于官方已将Angular2和之前的版本 Angular.js 分开维护(两
AngularWeb 前端框架
0
Device.js前端框架
Device.js 可以很容易地编写有条件的CSS_and/or_JavaScript,它支持如下设备iOS:iPhone,iPod,iPadAndroid:Phones&TabletsBla
Device.js前端框架
0
Soda前端框架
已更名为Abstract.js,请参考Abstract.jsPuppet(ORSoda)是基于逻辑层抽像的前端框架,致力于更高效,便捷,优雅的构建开发复杂的前端工程。Puppet是基于MVC的传统架框
Soda前端框架
0