Sapper一个构建高性能通用Web应用程序的框架

网友投稿 923 2022-10-10

Sapper一个构建高性能通用Web应用程序的框架

Sapper一个构建高性能通用Web应用程序的框架

sapper

Military-grade progressive web apps, powered by Svelte.

What is Sapper?

Sapper is a framework for building high-performance universal web apps. Read the guide or the introductory blog post to learn more.

Get started

Clone the starter project template with degit...

npx degit sveltejs/sapper-template my-app

...then install dependencies and start the dev server...

cd my-appnpm installnpm run dev

...and navigate to localhost:3000. To build and run in production mode:

npm run buildnpm start

Development

Pull requests are encouraged and always welcome. Pick an issue and help us out!

To install and work on Sapper locally:

git clone git@github.com:sveltejs/sapper.gitcd sappernpm installnpm run dev

Linking to a Live Project

You can make changes locally to Sapper and test it against a local Sapper project. For a quick project that takes almost no setup, use the default sapper-template project. Instruction on setup are found in that project repository.

To link Sapper to your project, from the root of your local Sapper git checkout:

cd sappernpm link

Then, to link from sapper-template (or any other given project):

cd sapper-templatenpm link sapper

You should be good to test changes locally.

Running Tests

npm run test

License

LIL

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Pycharm配置远程Jupyter
下一篇:Ngui- 基于 Node.js/OpenGL 的跨平台 GUI 应用程序开发框架(ngui点击层级遮挡)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~