Migrating to v1.2.2
Migrating from v1.2.1 to v1.2.2
Open folder "v1.2.2 patch":

and copy folder "views":
Then go to your v1.2.1 source code folder, open "src" folder and paste it there:


After finishing, BUILD it!
Migrating from v1.2.0 to v1.2.1
This update does not change the code, just add the "Server Configurations".
Migrating from v1.1.0 to v1.2.0
Migrating from v1.1.0 to v1.2.0
File location: "src/views/url-encode-decode.vue"
After finishing, BUILD it!
Video tutorial
Code
First part
<v-btn :color="separate ? 'primary' : 'red'" dark @click="separate = !separate">
Separate line:
<v-icon right dark>{{ separate ? 'done' : 'clear' }}</v-icon>
</v-btn>
Second part
<script>
export default {
data: () => ({
text: '',
result: '',
separate: false
}),
methods: {
encode() {
if (this.separate) {
const text = this.text.split('\n')
this.result = text.map((val) => encodeURIComponent(val)).join('\n')
return
}
this.result = encodeURIComponent(this.text)
},
decode() {
if (!this.separate) {
const text = this.text.replace(/\n|\r/g, '')
this.result = decodeURIComponent(text)
return
}
this.result = decodeURIComponent(this.text)
}
}
}
</script>