You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/javascript/quickstart-vuejs-with-nodejs.md
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ dev_langs:
13
13
- JavaScript
14
14
ms.workload:
15
15
- "nodejs"
16
-
monikerRange: 'vs-2019'
16
+
monikerRange: '= vs-2019'
17
17
---
18
18
# Quickstart: Use Visual Studio to create your first Vue.js app
19
19
@@ -28,20 +28,17 @@ In this 5-10 minute introduction to the Visual Studio integrated development env
28
28
29
29
* You must have Visual Studio installed and the Node.js development workload.
30
30
31
-
::: moniker range=">=vs-2019"
32
-
If you haven't already installed Visual Studio 2019, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/) page to install it for free.
33
-
::: moniker-end
31
+
If you haven't already installed Visual Studio 2019, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/) page to install it for free.
34
32
33
+
If you need to install the workload but already have Visual Studio, go to **Tools** > **Get Tools and Features...**, which opens the Visual Studio Installer. Choose the **Node.js development** workload, then choose **Modify**.
35
34
36
-
If you need to install the workload but already have Visual Studio, go to **Tools** > **Get Tools and Features...**, which opens the Visual Studio Installer. Choose the **Node.js development** workload, then choose **Modify**.
37
-
38
-

35
+

39
36
40
37
* You must have the Node.js runtime installed.
41
38
42
-
If you don't have it installed, we recommend you install the LTS version from the [Node.js](https://nodejs.org/en/download/) website for best compatibility with outside frameworks and libraries. Node.js is built for 32-bit and 64-bit architectures. The Node.js tools in Visual Studio, included in the Node.js workload, support both versions. Only one is required and the Node.js installer only supports one being installed at a time.
43
-
44
-
In general, Visual Studio automatically detects the installed Node.js runtime. If it does not detect an installed runtime, you can configure your project to reference the installed runtime in the properties page (after you create a project, right-click the project node, choose **Properties**, and set the **Node.exe path**). You can use a global installation of Node.js or you can specify the path to a local interpreter in each of your Node.js projects.
39
+
If you don't have it installed, we recommend you install the LTS version from the [Node.js](https://nodejs.org/en/download/) website for best compatibility with outside frameworks and libraries. Node.js is built for 32-bit and 64-bit architectures. The Node.js tools in Visual Studio, included in the Node.js workload, support both versions. Only one is required and the Node.js installer only supports one being installed at a time.
40
+
41
+
In general, Visual Studio automatically detects the installed Node.js runtime. If it does not detect an installed runtime, you can configure your project to reference the installed runtime in the properties page (after you create a project, right-click the project node, choose **Properties**, and set the **Node.exe path**). You can use a global installation of Node.js or you can specify the path to a local interpreter in each of your Node.js projects.
45
42
46
43
## Create a project
47
44
@@ -55,11 +52,9 @@ First, you'll create a Vue.js web application project.
55
52
56
53
1. Create a new project.
57
54
58
-
::: moniker range=">=vs-2019"
59
55
Press **Esc** to close the start window. Type **Ctrl + Q** to open the search box, type **Basic Vue.js**, then choose **Basic Vue.js Web application** (either JavaScript or TypeScript). In the dialog box that appears, type the name **basic-vuejs**, and then choose **Create**.
If you don't see the **Basic Vue.js Web application** project template, you must add the **Node.js development** workload. For detailed instructions, see the [Prerequisites](#prerequisites).
65
60
@@ -95,12 +90,9 @@ First, you'll create a Vue.js web application project.
95
90
96
91
## Build the project
97
92
98
-
::: moniker range=">=vs-2019"
99
93
1. Next, choose **Build** > **Build Solution** to build the project.
100
94
101
95
1. Check the **Output** window to see build results, and choose **Build** from the **Show output from** list.
102
-
::: moniker-end
103
-
104
96
105
97
The JavaScript Vue.js project template (and older versions of the TypeScript template) use the `build` npm script by configuring a post build event. If you want to modify this setting, open the project file (*\<projectname\>.njsproj*) from Windows Explorer and locate this line of code:
0 commit comments