revert Merge branch 'main' of http://47.107.152.87:3000/liubiao/APP # Conflicts: # .gitignore # pages/common/index/index.vue # unpackage/dist/dev/app-plus/app-config-service.js # unpackage/dist/dev/app-plus/app-service.js # unpackage/dist/dev/app-plus/app-view.js # unpackage/dist/dev/app-plus/manifest.json # utils/request.js
10 lines
360 B
Markdown
10 lines
360 B
Markdown
# `string.camelToHyphen()` _(ext/string\_/camel-to-hyphen)_
|
|
|
|
Convert camelCase string to hyphen separated, e.g. `oneTwoThree` into `one-to-three`. Useful when converting names from js property convention into filename convention.
|
|
|
|
```javascript
|
|
const camelToHyphen = require("ext/string_/camelToHyphen");
|
|
|
|
camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy
|
|
```
|