From d3c110e560440d99bd4534287264385eb8a73b74 Mon Sep 17 00:00:00 2001 From: Srdjan Pazin <76836885+srdjanpazin@users.noreply.github.com> Date: Fri, 28 Jul 2023 12:35:28 +0200 Subject: [PATCH] Fixed typo in quick-start.md --- src/guide/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/quick-start.md b/src/guide/quick-start.md index 695071c4fa..e0aabf89c6 100644 --- a/src/guide/quick-start.md +++ b/src/guide/quick-start.md @@ -319,7 +319,7 @@ export default { If you directly open the above `index.html` in your browser, you will find that it throws an error because ES modules cannot work over the `file://` protocol, which is the protocol the browser uses when you open a local file. -Due to security reasons, ES modules can only work over the `http://` protocol, which is what the browsers uses when opening pages on the web. In order for ES modules to work on our local machine, we need to serve the `index.html` over the `http://` protocol, with a local HTTP server. +Due to security reasons, ES modules can only work over the `http://` protocol, which is what the browsers use when opening pages on the web. In order for ES modules to work on our local machine, we need to serve the `index.html` over the `http://` protocol, with a local HTTP server. To start a local HTTP server, first make sure you have [Node.js](https://nodejs.org/en/) installed, then run `npx serve` from the command line in the same directory where your HTML file is. You can also use any other HTTP server that can serve static files with the correct MIME types.