Svelte logo
Svelte logotype

Cybernetically enhanced web apps

Svelte 是一种全新的构建用户界面的方法。传统框架如 React 和 Vue 在浏览器中需要做大量的工作,而 Svelte 将这些工作放到构建应用程序的编译阶段来处理。

与使用虚拟(virtual)DOM 差异对比不同。Svelte 编写的代码在应用程序的状态更改时就能像做外科手术一样更新 DOM。

阅读此篇博文 了解更多信息。

	npx degit sveltejs/template my-svelte-project
	# or download and extract this .zip file
	cd my-svelte-project

	npm install
	npm run dev
			

参阅 此入门指南 了解更多信息。

学习 Svelte

Svelte 组件构建在 HTML 之上。然后只需添加数据即可。

CSS 是默认限定在组件作用域内的,不再有样式冲突或优先级的问题。或者还可以 使用你喜欢的 CSS-in-JS 库

通过给局部变量赋值就能触发高效、细粒度的更新。剩余的事情交给编译器去处理。

使用一个内置于框架中的、强大的、性能卓越的动画引擎(transition engine)来构建漂亮的 UI。

Svelte 用户列表

贡献者列表

Svelte 是一个免费的开源软件,有数十名志愿者共同创建。欢迎你的加入!

Rich-Harris Conduitry tanhauhau Swatinem jacwright lukeed mindrones mrkishi ekhaled EmilTholin RedHatter zxbodya btk5h jches pngwn PaulBGD GarrettGeorge FWeinb btakita evs-chris colincasey UnwrittenFun TehShrike jacobmischka tivac Panya sanderhahn aphitiel kaisermann MattiasBuelens halfnelson Harald-1 Axelen123 m59peacemaker taylorzane leporo arxpoetica stalkerg esarbanis hperrin LostKobrakai CreaturesInUnitards thollander dkondrad emilos AlexxNB AlbertLucianto cristinecula MikeMatrix shinnn timhall umanghome bre30kra69cs Vages qintarp bwbroersma clarkdo Hongarc lukasIO ElectronSz NitayRabi PaulMaly samuelgozi js2me trbrc 43081j dmitrykurmanov aarongeorge ItalyPaleAle industral allantito almaz-khan amwmedia antony benlesh chrishelgert Crisfole funkybob membranophonist deanmcpherson deyyanl neoel SrZorro GarethOates jesseskinner Jingmnt johnmuhl zlsa matt3224 nikku oguzhaninan varholak-peter sercaneraslan kyrylkov vascoosx SteveALee thgh timdeschryver saibotsivad cvlab adrian5 cayasso cudr dasZGFz cbolgiano gabysantosw martinandert mustafa0x elliotwaite fjorgemota buhrmi vaibhav111tandon davidaq vedam 1wheel zzolo alexnoz Alex-CS aorel talklittle ankeetmaini anthonylegoas arthurdenner acstll guzart el1f webdesq bartoszmagier remotelydev benoror bdougherty bravecow blittle c0bra bsssshhhhhhh Cleecanth chris-morgan caengen klaussner clebert dalemartyn himynameisdave davebrent davemo widyakumara domin1101 StarpTech ematipico enstyled ericdfields evanmoncuso vilarfg ceifa Gabswim gautamkrishnar gonfva gka Denhai hchatel IlyaSemenov newbornfrontender ilblog IvanSanchez beegan jackyef lunchboxer foucist Rukenshia Joxtacy jwicks31 johman10 joncfoo 6eDesign jormaj getkey pyoner Karsten7 khtdr netaisllc kevmodrome Kiho atomAltera leereamsnyder Leon31 leomarquine lode lorenbrichter lguzzon lyndsysimon marvinhagemeister mahenrique94 MaxMilton cryptofool13 mterczynski mtlewis khorpy nicolasmgaray charpeni jacoux QuantumInformation njbotkin nolanlawson omeraplak vp2177 plmrry paulocoghi blackwolf12333 RAYDENFilipp raitalharehman rajnandan1 retotrinkler rhucle rihardsgravis rohanfaiyazkhan rmariuzzo ryanatkn scottbedard eps1lon sebastian-stephan shakhbulatgaz lenovouser Softmus StevenWeathers ThomasFerro tiberiuc tcrowe thelgevold VarunDevPro Ti-webdev vidaren SleepyWerewolf supermooshman Vulwsztyn jakutis Spice-Z Zirro arggh eh-dub benib burningTyger craigglennie dependabot[bot] fiskgrodan hville igoradamenko jamesgeorge007 jasdeepgill jpsc julian-kuroiwa mattstobbs mellisdesigns munrocket nbgoodall nhducit priyanjitdey94 pynnl raveling red-meadow rqrqrqrq rykiplov sidx1024 simeydotme sw-yx voldemortensen Ding-Fan
京ICP备11008151号-17