create-reactivite 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +197 -177
  2. package/index.js +7 -0
  3. package/package.json +1 -1
  4. package/template/README.md +73 -73
  5. package/template/components.json +22 -22
  6. package/template/eslint.config.js +30 -23
  7. package/template/index.html +13 -13
  8. package/template/package.json +53 -51
  9. package/template/pnpm-lock.yaml +1521 -1766
  10. package/template/src/App.tsx +27 -13
  11. package/template/src/components/admin-page-components/activity-chart.tsx +80 -0
  12. package/template/src/components/admin-page-components/dashboard-header.tsx +38 -0
  13. package/template/src/components/admin-page-components/dashboard-layout.tsx +23 -0
  14. package/template/src/components/admin-page-components/dashboard-sales.tsx +67 -0
  15. package/template/src/components/admin-page-components/dashboard-sidebar.tsx +81 -0
  16. package/template/src/components/admin-page-components/revenu-chart.tsx +69 -0
  17. package/template/src/components/admin-page-components/stat-cards.tsx +50 -0
  18. package/template/src/components/home-page-components/header.tsx +2 -2
  19. package/template/src/components/ui/accordion.tsx +64 -64
  20. package/template/src/components/ui/alert.tsx +66 -66
  21. package/template/src/components/ui/avatar.tsx +51 -51
  22. package/template/src/components/ui/badge.tsx +46 -46
  23. package/template/src/components/ui/button-group.tsx +83 -83
  24. package/template/src/components/ui/button.tsx +60 -60
  25. package/template/src/components/ui/calendar.tsx +210 -211
  26. package/template/src/components/ui/card.tsx +92 -92
  27. package/template/src/components/ui/checkbox.tsx +30 -30
  28. package/template/src/components/ui/collapsible.tsx +31 -31
  29. package/template/src/components/ui/dialog.tsx +141 -141
  30. package/template/src/components/ui/input.tsx +21 -0
  31. package/template/src/components/ui/select.tsx +185 -185
  32. package/template/src/components/ui/separator.tsx +26 -26
  33. package/template/src/components/ui/sonner.tsx +38 -38
  34. package/template/src/components/ui/spinner.tsx +16 -16
  35. package/template/src/components/ui/table.tsx +114 -114
  36. package/template/src/components/ui/toggle.tsx +45 -45
  37. package/template/src/components/ui/tooltip.tsx +59 -59
  38. package/template/src/lib/utils.ts +6 -6
  39. package/template/src/main.tsx +10 -10
  40. package/template/src/pages/Dashboard/Dashboard.tsx +32 -0
  41. package/template/tsconfig.app.json +31 -28
  42. package/template/tsconfig.json +12 -14
  43. package/template/tsconfig.node.json +26 -26
  44. package/template/vite.config.ts +13 -14
@@ -1,14 +1,13 @@
1
- import path from "path";
2
- import tailwindcss from "@tailwindcss/vite";
3
- import react from "@vitejs/plugin-react";
4
- import { defineConfig } from "vite";
5
-
6
- // https://vite.dev/config/
7
- export default defineConfig({
8
- plugins: [react(), tailwindcss()],
9
- resolve: {
10
- alias: {
11
- "@": path.resolve(__dirname, "./src"),
12
- },
13
- },
14
- });
1
+ import { defineConfig } from "vite";
2
+ import react from "@vitejs/plugin-react";
3
+ import tailwindcss from "@tailwindcss/vite";
4
+ import * as path from "path";
5
+
6
+ export default defineConfig({
7
+ plugins: [react(), tailwindcss()],
8
+ resolve: {
9
+ alias: {
10
+ "@": path.resolve(__dirname, "src"),
11
+ },
12
+ },
13
+ });