多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## useChangeCase 安装 ``` yarn add change-case ``` 示例 ``` import { useChangeCase } from '@vueuse/integrations/useChangeCase' // `changeCase` will be a computed const changeCase = useChangeCase('hello world', 'camelCase') changeCase.value // helloWorld // or changeCase.value = 'vue use' changeCase.value // vueUse // Supported methods // export { // camelCase, // capitalCase, // constantCase, // dotCase, // headerCase, // noCase, // paramCase, // pascalCase, // pathCase, // sentenceCase, // snakeCase, // } from 'change-case' ```