We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b45b1f3 + 2f121d9 commit f720e27Copy full SHA for f720e27
resources/js/Components/H2.jsx
@@ -1,5 +1,6 @@
1
function kebabCase(str) {
2
return str
3
+ .replace('URL', 'Url')
4
.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)
5
.join('-')
6
.toLowerCase()
resources/js/Pages/routing.jsx
@@ -6,7 +6,7 @@ export const meta = {
links: [
7
{ url: '#top', name: 'Defining routes' },
8
{ url: '#shorthand-routes', name: 'Shorthand routes' },
9
- { url: '#generating-routes', name: 'Generating URLs' },
+ { url: '#generating-urls', name: 'Generating URLs' },
10
],
11
}
12
0 commit comments