官术网_书友最值得收藏!

Chapter 2: Scaffolding Your Svelte Project

After hopefully selling you on the benefits of building your next project as a JAMstack app with Svelte 3, we're now ready to start developing our proof-of-concept application.

However, as with every new technology or framework, we first need to prepare our environment to be ready to work with it. This requires installing the necessary interpreter and runtime dependency, setting up tooling, and scaffolding a new project.

In this chapter, we'll be covering the following topics:

  • Setting up your environment: We'll install Node.js, set up Visual Studio Code as our editor (optional, but recommended), and start the backend service for our app.
  • Scaffolding a project with Webpack: We'll create our Svelte project and scaffold it using Webpack as a bundler.
  • "Hello, Svelte!": Our take on "hello world".
  • Debugging Svelte applications in a web browser.

At the end of this chapter, you'll have a scaffolded project for Svelte 3. You can find the end result on GitHub at https://bit.ly/sveltebook-ch2.

主站蜘蛛池模板: 竹溪县| 盖州市| 宁乡县| 青铜峡市| 深州市| 平远县| 砚山县| 日喀则市| 东源县| 云浮市| 佛山市| 静宁县| 江阴市| 井研县| 监利县| 秭归县| 克拉玛依市| 洮南市| 芮城县| 漾濞| 蓝田县| 长治市| 新乡县| 吉林省| 渭南市| 新源县| 蓬莱市| 中江县| 广灵县| 新密市| 浠水县| 丹巴县| 建宁县| 商水县| 交城县| 江山市| 铁岭市| 深水埗区| 上高县| 沙洋县| 浙江省|