Skip to content

Commit 45103b4

Browse files
readme + credit added
1 parent de8ff70 commit 45103b4

File tree

4 files changed

+45
-86
lines changed

4 files changed

+45
-86
lines changed

README.md

Lines changed: 11 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,13 @@
11
# TailAdmin Vue.js Dashboard
22

3-
A modern Vue.js admin dashboard template built with Tailwind CSS.
3+
#### Preview
4+
- [Demo](https://themewagon.github.io/tailadmin-vuejs/)
45

5-
## GitHub Pages Deployment
6+
#### Download
7+
- [Download from ThemeWagon](https://themewagon.com/themes/tailadmin-vuejs/)
68

7-
This project is configured for automatic deployment to GitHub Pages using GitHub Actions.
89

9-
### Setup Instructions
10-
11-
1. **Fork or clone this repository**
12-
2. **Enable GitHub Pages in your repository settings:**
13-
- Go to your repository on GitHub
14-
- Click on **Settings** tab
15-
- Scroll down to **Pages** section in the left sidebar
16-
- Under "Source", select **"GitHub Actions"**
17-
- Save the settings
18-
3. **Push your changes to the main branch**
19-
4. **The GitHub Action will automatically build and deploy your site**
20-
21-
### Troubleshooting
22-
23-
If you get an error about "Pages site not found":
24-
1. Make sure you've enabled GitHub Pages in repository settings first
25-
2. The workflow includes `enablement: true` to help with initial setup
26-
3. After enabling Pages, push your changes again
27-
28-
### Repository Configuration
29-
30-
- **Username:** `themewagon`
31-
- **Repository:** `tailadmin-vuejs`
32-
- **GitHub Pages URL:** `https://themewagon.github.io/tailadmin-vuejs/`
33-
34-
### Local Development
10+
### Getting Started
3511

3612
```bash
3713
# Install dependencies
@@ -47,47 +23,14 @@ npm run build
4723
npm run preview
4824
```
4925

50-
### Deployment Features
51-
52-
- ✅ Automatic deployment via GitHub Actions
53-
- ✅ Hash-based routing for GitHub Pages compatibility
54-
- ✅ Proper base URL configuration
55-
- ✅ Production-optimized builds
56-
57-
### Manual Deployment (Alternative)
58-
59-
If you prefer manual deployment:
60-
61-
```bash
62-
# Build for GitHub Pages
63-
npm run build:gh-pages
64-
65-
# Deploy using gh-pages (requires gh-pages package)
66-
npm run deploy
67-
```
68-
69-
### Project Structure
7026

27+
## Author
7128
```
72-
src/
73-
├── components/ # Reusable Vue components
74-
├── views/ # Page components
75-
├── router/ # Vue Router configuration
76-
├── assets/ # Static assets
77-
└── icons/ # SVG icon components
29+
Design and code is completely written by TailAdmin and development team.
7830
```
7931

80-
### Technologies Used
81-
82-
- Vue 3 with Composition API
83-
- Vue Router 4
84-
- Tailwind CSS
85-
- Vite
86-
- TypeScript
87-
- ApexCharts
88-
- FullCalendar
89-
- And more...
90-
91-
### License
32+
## License
9233

93-
This project is licensed under the MIT License.
34+
- Design and Code is Copyright © [TailAdmin](https://tailadmin.com/)
35+
- Licensed cover under [MIT]
36+
- Distributed by [ThemeWagon](https://themewagon.com)

src/components/layout/AdminLayout.vue

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,38 @@
1010
<div class="p-4 mx-auto max-w-(--breakpoint-2xl) md:p-6">
1111
<slot></slot>
1212
</div>
13+
<!-- Footer -->
14+
<footer class="p-4 mx-auto max-w-(--breakpoint-2xl) md:p-6 pt-0">
15+
<p class="text-sm text-center text-gray-500 dark:text-gray-400">
16+
Designed and Developed by
17+
<a
18+
href="https://tailadmin.com/"
19+
target="_blank"
20+
rel="noopener noreferrer"
21+
class="text-brand-500 hover:text-brand-600 transition-colors duration-200 font-medium"
22+
>
23+
TailAdmin
24+
</a>
25+
~ Distributed by
26+
<a
27+
href="https://themewagon.com/"
28+
target="_blank"
29+
rel="noopener noreferrer"
30+
class="text-brand-500 hover:text-brand-600 transition-colors duration-200 font-medium"
31+
>
32+
ThemeWagon
33+
</a>
34+
.
35+
</p>
36+
</footer>
1337
</div>
1438
</div>
1539
</template>
1640

17-
<script setup>
18-
import AppSidebar from './AppSidebar.vue'
19-
import AppHeader from './AppHeader.vue'
41+
<script setup lang="ts">
2042
import { useSidebar } from '@/composables/useSidebar'
43+
import AppHeader from './AppHeader.vue'
44+
import AppSidebar from './AppSidebar.vue'
2145
import Backdrop from './Backdrop.vue'
2246
const { isExpanded, isHovered } = useSidebar()
2347
</script>

src/components/layout/SidebarWidget.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,5 @@
66
<p class="mb-4 text-gray-500 text-theme-sm dark:text-gray-400">
77
Leading Tailwind CSS Admin Template with 400+ UI Component and Pages.
88
</p>
9-
<a
10-
href="https://tailadmin.com/pricing"
11-
target="_blank"
12-
rel="nofollow"
13-
class="flex items-center justify-center p-3 font-medium text-white rounded-lg bg-brand-500 text-theme-sm hover:bg-brand-600"
14-
>
15-
Purchase Plan
16-
</a>
179
</div>
1810
</template>

src/components/layout/header/UserMenu.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@
5757
</div>
5858
</template>
5959

60-
<script setup>
61-
import { UserCircleIcon, ChevronDownIcon, LogoutIcon, SettingsIcon, InfoCircleIcon } from '@/icons'
60+
<script setup lang="ts">
61+
import { ChevronDownIcon, InfoCircleIcon, LogoutIcon, SettingsIcon, UserCircleIcon } from '@/icons'
62+
import { onMounted, onUnmounted, ref } from 'vue'
6263
import { RouterLink } from 'vue-router'
63-
import { ref, onMounted, onUnmounted } from 'vue'
6464
6565
const dropdownOpen = ref(false)
66-
const dropdownRef = ref(null)
66+
const dropdownRef = ref<HTMLElement | null>(null)
6767
6868
const menuItems = [
6969
{ href: '/profile', icon: UserCircleIcon, text: 'Edit profile' },
70-
{ href: '/chat', icon: SettingsIcon, text: 'Account settings' },
70+
{ href: '/profile', icon: SettingsIcon, text: 'Account settings' },
7171
{ href: '/profile', icon: InfoCircleIcon, text: 'Support' },
7272
]
7373
@@ -85,8 +85,8 @@ const signOut = () => {
8585
closeDropdown()
8686
}
8787
88-
const handleClickOutside = (event) => {
89-
if (dropdownRef.value && !dropdownRef.value.contains(event.target)) {
88+
const handleClickOutside = (event: Event) => {
89+
if (dropdownRef.value && !dropdownRef.value.contains(event.target as Node)) {
9090
closeDropdown()
9191
}
9292
}

0 commit comments

Comments
 (0)