A Nuxt starter template to initiate a new webapp project.
You can chat with me on Mattermost.
Nuxt starter template requires Node >=18
Please follow these steps to get a development env running.
# If you don't have pnpm installed, run:
corepack enable
corepack prepare pnpm@latest --activate
git clone [email protected]:samuel.collin/nuxt-template.git
cd nuxt-starter
pnpm install
Start a local version using the following command:
pnpm run dev
The local version of Nuxt starter template webapp will be available on http://localhost:3000
We use ESLint for both linting and formatting.
You can run pnpm run lint --fix
to let ESLint formats and lints the code.
We recommend using VS Code along with the ESLint extension.
With the following settings in VS Code's settings.json
, you can have auto fix and formatting when you save the code you are editing :
{
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
}
}
Since ESLint is already configured to format the code, there is no need to duplicate the functionality with Prettier.
We use Conventional Commits for commit messages, which allows the changelog to be auto-generated based on the commits. Please read the guide through if you aren't familiar with it already.
Only fix:
and feat:
types will be presented in the changelog.
Others supported types are: build:
, chore:
, ci:
, docs:
, style:
, refactor:
, perf:
, test:
Note that fix:
and feat:
are for actual code changes (that might affect logic).
For typo or document changes, use docs:
or chore:
instead:
->fix: typo
docs: fix typo
Tools that are used to build your application.
- Nuxt 3 - The Intuitive Vue Framework
- Vue 3 - The Progressive JavaScript FrameworkThe with
<script setup>
syntax (composition API) - UnoCSS - The instant on-demand atomic CSS engine.
- 😃 Use icons from any icon sets in Pure CSS, powered by UnoCSS + Iconify.
- VueUse - collection of useful composition APIs.
- ColorMode - dark and Light mode with auto detection made easy with Nuxt.
- UnoCSS - the instant on-demand atomic CSS engine.
- Pinia - intuitive, type safe, light and flexible Store for Vue.
- i18n - internationalization for Nuxt applications.
- DevTools - unleash Nuxt Developer Experience.
-
- Developer
This project is licensed - see the LICENSE file for details.