diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 4037b3d..9293665 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -39,6 +39,7 @@ export default { 'str_sort_lines': 'Str sort lines', 'str_to_lower_upper': 'Str to lower/upper', 'str_remove_duplicate_lines': 'Str remove duplicate lines', + 'str_pad': 'Str pad', 'url_encode_decode': 'URL encode/decode', 'url_query_viewer': 'URL query viewer', }, diff --git a/src/router/index.js b/src/router/index.js index 133a29e..8936d37 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -55,6 +55,11 @@ const router = createRouter({ name: 'str_remove_duplicate_lines', component: () => import('../views/StrRemoveDuplicateLines.vue'), }, + { + path: '/str_pad', + name: 'str_pad', + component: () => import('../views/StrPad.vue'), + }, { path: '/str_to_php_array', name: 'str_to_php_array', diff --git a/src/views/StrPad.vue b/src/views/StrPad.vue new file mode 100644 index 0000000..1edd74c --- /dev/null +++ b/src/views/StrPad.vue @@ -0,0 +1,98 @@ + + + + + \ No newline at end of file