Skip to content

Commit cca9569

Browse files
committed
Readme updated
1 parent 6994670 commit cca9569

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ export default {
8989

9090
```
9191
let instance = new VueScriptParser(code)
92-
instace.addImpoort(importStatement)
92+
instance.addImport(importStatement)
9393
```
9494

9595
### To remove import from imports
9696

9797
```
9898
let instance = new VueScriptParser(code)
99-
instace.removImport(importStatement)
99+
instance.removeImport(importStatement)
100100
```
101101

102102
## Data
@@ -105,14 +105,14 @@ instace.removImport(importStatement)
105105

106106
```
107107
let instance = new VueScriptParser(code)
108-
instace.addData(variableName,value)
108+
instance.addData(variableName,value)
109109
```
110110

111111
### To remove variable from data
112112

113113
```
114114
let instance = new VueScriptParser(code)
115-
instace.removeData(variableName)
115+
instance.removeData(variableName)
116116
```
117117

118118
## Mounted
@@ -121,7 +121,7 @@ instace.removeData(variableName)
121121

122122
```
123123
let instance = new VueScriptParser(code)
124-
instace.addMounted(mountedBody)
124+
instance.addMounted(mountedBody)
125125
```
126126

127127
## Methods
@@ -130,14 +130,14 @@ instace.addMounted(mountedBody)
130130

131131
```
132132
let instance = new VueScriptParser(code)
133-
instace.addMethod(name,body,args)
133+
instance.addMethod(name,body,args)
134134
```
135135

136136
### To remove method from methods
137137

138138
```
139139
let instance = new VueScriptParser(code)
140-
instace.removeMethod(methodName)
140+
instance.removeMethod(methodName)
141141
```
142142

143143

0 commit comments

Comments
 (0)