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: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The key feature of this plugin is that it will allow you to compose SFC's that c
9
9
10
10
An example of this would be the following Vue component:
11
11
12
-
```
12
+
```html
13
13
<templateweb>
14
14
<divclass="w-page">
15
15
<divclass="w-container">
@@ -81,14 +81,14 @@ If vue-cli 3 is not yet installed, first follow the instructions here: https://g
81
81
**Tip**: If you don't want to overwrite your current vue-cli 2 setup because you still need `vue init`, [then try this](https://cli.vuejs.org/guide/creating-a-project.html#pulling-2-x-templates-legacy).
82
82
83
83
Generate a project using vue-cli 3.0
84
-
```
84
+
```bash
85
85
vue create my-app
86
86
```
87
87
88
88
Before installing the Nativescript-Vue CLI 3 Plugin, make sure to commit or stash changes in case you need to revert.
89
89
90
90
To install the Nativescript-Vue CLI 3 Plugin...
91
-
```
91
+
```bash
92
92
cd my-app
93
93
vue add vue-cli-plugin-nativescript-vue
94
94
```
@@ -133,7 +133,7 @@ You should then be able to attach the Chrome debugger as you normally would via
133
133
You should also be able to debug directly in VSCode. The [NativeScript VSCode Extension docs](https://docs.nativescript.org/angular/tooling/visual-studio-code-extension) are a good place to start with understanding how to do this. However, you will need to modify your `launch.json` file to force `tns` to work properly with VUE CLI 3.
134
134
135
135
Your `launch.json` file should look something like below. Notice the different in the `tnsArgs` line that is different than what is in the documentation link above.
136
-
```
136
+
```json
137
137
{
138
138
"version": "0.2.0",
139
139
"configurations": [
@@ -190,7 +190,7 @@ Your `launch.json` file should look something like below. Notice the different i
190
190
}
191
191
```
192
192
You will also need to modify your `vue.config.js` file to include a `webpack-chain` statement that will setup your source map. It should look something like this:
0 commit comments