Skip to content

Commit

Permalink
Merge pull request #178 from manchenkoff/update-bug-report-template
Browse files Browse the repository at this point in the history
chore: updated bug report issue template
  • Loading branch information
manchenkoff authored Sep 28, 2024
2 parents 9808a9f + fca3627 commit 3687455
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 53 deletions.
34 changes: 20 additions & 14 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ Steps to reproduce the behavior:

A clear and concise description of what you expected to happen.

**Screenshots**
**Actual behavior**

If applicable, add screenshots to help explain your problem.
A clear and concise description of what actually happened.

**Module information**

- Version: <INSTALLED_MODULE_VERSION>
- Complete configuration of `sanctum` from your `nuxt.config.ts`
- Version: `x.x.x`
- Content of your `nuxt.config.ts`:

```typescript
// REPLACE WITH YOUR FILE CONTENT!
export default defineNuxtConfig({
modules: ['nuxt-auth-sanctum'],

Expand All @@ -43,20 +44,23 @@ export default defineNuxtConfig({

**Nuxt environment:**

- Version: <YOUR_NUXT_VERSION>
- SSR Enabled: (yes / no)
- Environment: (local / production)
- Version: `x.x.x`
- SSR Enabled: **yes / no**
- Environment: **local / production**

**Laravel environment:**

- Version: <YOUR_LARAVEL_VERSION>
- Sanctum installed via Breeze: (yes / no)
- [Checklist](https://manchenkoff.gitbook.io/nuxt-auth-sanctum/authentication/spa-cookie#laravel-configuration) completed: (yes / no)
- Session domain from your `config/session.php`: `.domain.test`
- List of stateful domains from your `config/sanctum.php`: `['domain.test', 'www.domain.test']`
- CORS settings from your `config/cors.php`
- Version: `x.x.x`
- Sanctum installed via Breeze: **yes / no**
- [Checklist](https://manchenkoff.gitbook.io/nuxt-auth-sanctum/authentication/spa-cookie#laravel-configuration) completed: **yes / no**
- What is your session domain in `config/session.php`: `<REPLACE_ME>`
- What is your stateful domains in `config/sanctum.php`: `<REPLACE_ME>`
- Content of `config/cors.php`:

```php
<?php
// REPLACE WITH YOUR FILE CONTENT!

return [
'paths' => ['*'],
'allowed_methods' => ['*'],
Expand All @@ -73,4 +77,6 @@ return [

**Additional context**

Add any other context about the problem here. For instance, you can attach the details about the request/response of the application or logs from the backend to make this problem easier to understand.
Add any other context about the problem here.
For instance, you can attach the details about the request/response of the application or logs from the backend to make this problem easier to understand.
Also, any code sample that can help to reproduce the issue will be appreciated.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

0 comments on commit 3687455

Please sign in to comment.