The NOBEARS Nuxt Module Starter template is a template that is used to create a new Nuxt module. It is a good starting point for creating a new Nuxt module that follows our coding standards, release process and more.
git clone https://git.nobears.nl/nobears-front-end/templates/nuxt-module-starter.git
rm -rf .git
git init --initial-branch=main
git remote add origin <your-git-repository>
With search and replace, you can easily replace the placeholders with actual values.
Also be sure to replace the placeholders listed below in their respective order, otherwise you will overwrite parts of other placeholders.
| Placeholder | Example Replacement |
|---|---|
placeholder_package_name | nuxt-statamic |
placeholderModuleConfigKey | nuxtStatamic |
PlaceholderPackageNameFormattedForTypesSimple | Statamic |
PlaceholderPackageNameFormattedForTypes | NuxtStatamic |
PlaceholderPackageNameFormatted | Nuxt Statamic |
git add .
git commit -m "chore(template): added NOBEARS Nuxt Module Starter template"
git push --set-upstream origin main