nuxt-change-case
change-case implementation as nuxt module.
📖 Release Notes
Setup
- Add
nuxt-change-case
dependency to your project
yarn add nuxt-change-case
- Add
nuxt-change-case
to the modules
section of nuxt.config.js
{
modules: [
'nuxt-change-case'
]
}
Usage
<h1> {{ $pascalCase('hello world') }} </h1>
<h1> {{ $lowerCase('Çocuk Adam Bak Buraya') }} </h1>
<h1> {{ $localeUpperCase('şemsi paşa pasajında sesi büzüşesiceler', 'tr') </h1>
<h1> {{ $localeUpperCase('KENAN MEMEDOV! SOVIETSKA ARMY', 'az') </h1>
asyncData ({ $paramCase }) {
console.log($paramCase('nuxt change case'))
}
Please check full documentation. Same as change-case.
Development
- Clone this repository
- Install dependencies using
yarn install
or npm install
- Start development server using
npm run dev
License
MIT License
Copyright (c) RadKod info@radkod.com