diff --git a/src/content/guides/getting-started.md b/src/content/guides/getting-started.md index 669e336cf604..dc36f4dd2ae4 100644 --- a/src/content/guides/getting-started.md +++ b/src/content/guides/getting-started.md @@ -20,15 +20,17 @@ Webpack is used to compile JavaScript modules. Once [installed](/guides/installa ## Basic Setup -First let's create a directory, initialize npm, and [install webpack locally](/guides/installation#local-installation): +First let's create a directory, initialize npm, [install webpack locally](/guides/installation#local-installation), and install the webpack-cli (the tool used to run webpack on the command line): ``` bash mkdir webpack-demo && cd webpack-demo npm init -y -npm install --save-dev webpack +npm install webpack webpack-cli --save-dev ``` -Now we'll create the following directory structure and contents: +T> Throughout the Guides we will use `diff` blocks to show you what changes we're making to directories, files, and code. + +Now we'll create the following directory structure, files and their contents: __project__ @@ -58,6 +60,7 @@ document.body.appendChild(component()); __index.html__ ``` html + Getting Started @@ -69,7 +72,33 @@ __index.html__ ``` -In this example, there are implicit dependencies between the `