jamilvite 0.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 (62) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +66 -0
  4. package/TODO.md +6 -0
  5. package/package.json +33 -0
  6. package/src/cli.js +133 -0
  7. package/templates/template-js-cdn/index.html +13 -0
  8. package/templates/template-js-cdn/package.json +23 -0
  9. package/templates/template-js-cdn/postcss.config.js +6 -0
  10. package/templates/template-js-cdn/src/App.jsx +15 -0
  11. package/templates/template-js-cdn/src/components/Nav.jsx +28 -0
  12. package/templates/template-js-cdn/src/main.jsx +13 -0
  13. package/templates/template-js-cdn/src/pages/About.jsx +23 -0
  14. package/templates/template-js-cdn/src/pages/Home.jsx +42 -0
  15. package/templates/template-js-cdn/src/pages/NotFound.jsx +15 -0
  16. package/templates/template-js-cdn/src/routes/Router.jsx +16 -0
  17. package/templates/template-js-cdn/src/styles/index.css +11 -0
  18. package/templates/template-js-cdn/tailwind.config.js +10 -0
  19. package/templates/template-js-cdn/vite.config.js +6 -0
  20. package/templates/template-js-local/index.html +12 -0
  21. package/templates/template-js-local/package.json +23 -0
  22. package/templates/template-js-local/postcss.config.js +6 -0
  23. package/templates/template-js-local/src/App.jsx +15 -0
  24. package/templates/template-js-local/src/components/Nav.jsx +28 -0
  25. package/templates/template-js-local/src/main.jsx +14 -0
  26. package/templates/template-js-local/src/pages/About.jsx +23 -0
  27. package/templates/template-js-local/src/pages/Home.jsx +42 -0
  28. package/templates/template-js-local/src/pages/NotFound.jsx +15 -0
  29. package/templates/template-js-local/src/routes/Router.jsx +16 -0
  30. package/templates/template-js-local/src/styles/index.css +11 -0
  31. package/templates/template-js-local/src/styles/w3.css +42 -0
  32. package/templates/template-js-local/tailwind.config.js +10 -0
  33. package/templates/template-js-local/vite.config.js +6 -0
  34. package/templates/template-ts-cdn/index.html +13 -0
  35. package/templates/template-ts-cdn/package.json +26 -0
  36. package/templates/template-ts-cdn/postcss.config.js +6 -0
  37. package/templates/template-ts-cdn/src/App.tsx +15 -0
  38. package/templates/template-ts-cdn/src/components/Nav.tsx +28 -0
  39. package/templates/template-ts-cdn/src/main.tsx +13 -0
  40. package/templates/template-ts-cdn/src/pages/About.tsx +23 -0
  41. package/templates/template-ts-cdn/src/pages/Home.tsx +42 -0
  42. package/templates/template-ts-cdn/src/pages/NotFound.tsx +15 -0
  43. package/templates/template-ts-cdn/src/routes/Router.tsx +16 -0
  44. package/templates/template-ts-cdn/src/styles/index.css +11 -0
  45. package/templates/template-ts-cdn/tailwind.config.js +10 -0
  46. package/templates/template-ts-cdn/tsconfig.json +17 -0
  47. package/templates/template-ts-cdn/vite.config.js +6 -0
  48. package/templates/template-ts-local/index.html +12 -0
  49. package/templates/template-ts-local/package.json +26 -0
  50. package/templates/template-ts-local/postcss.config.js +6 -0
  51. package/templates/template-ts-local/src/App.tsx +15 -0
  52. package/templates/template-ts-local/src/components/Nav.tsx +28 -0
  53. package/templates/template-ts-local/src/main.tsx +14 -0
  54. package/templates/template-ts-local/src/pages/About.tsx +23 -0
  55. package/templates/template-ts-local/src/pages/Home.tsx +42 -0
  56. package/templates/template-ts-local/src/pages/NotFound.tsx +15 -0
  57. package/templates/template-ts-local/src/routes/Router.tsx +16 -0
  58. package/templates/template-ts-local/src/styles/index.css +11 -0
  59. package/templates/template-ts-local/src/styles/w3.css +42 -0
  60. package/templates/template-ts-local/tailwind.config.js +10 -0
  61. package/templates/template-ts-local/tsconfig.json +17 -0
  62. package/templates/template-ts-local/vite.config.js +6 -0
@@ -0,0 +1,42 @@
1
+ .w3-bar {
2
+ display: flex;
3
+ align-items: center;
4
+ }
5
+
6
+ .w3-bar-item {
7
+ padding: 8px 16px;
8
+ }
9
+
10
+ .w3-blue {
11
+ background-color: #0d6efd;
12
+ }
13
+
14
+ .w3-white {
15
+ background-color: #ffffff;
16
+ color: #0f172a;
17
+ }
18
+
19
+ .w3-border {
20
+ border: 1px solid #cbd5f5;
21
+ }
22
+
23
+ .w3-border-blue {
24
+ border-color: #0d6efd;
25
+ }
26
+
27
+ .w3-round-large {
28
+ border-radius: 999px;
29
+ }
30
+
31
+ .w3-button {
32
+ cursor: pointer;
33
+ display: inline-flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ padding: 8px 16px;
37
+ transition: background-color 0.2s ease, color 0.2s ease;
38
+ }
39
+
40
+ .w3-button:hover {
41
+ background-color: #e2e8f0;
42
+ }
@@ -0,0 +1,10 @@
1
+ export default {
2
+ content: [
3
+ './index.html',
4
+ './src/**/*.{js,jsx,ts,tsx}'
5
+ ],
6
+ theme: {
7
+ extend: {}
8
+ },
9
+ plugins: []
10
+ };
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "useDefineForClassFields": true,
5
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
+ "module": "ESNext",
7
+ "skipLibCheck": true,
8
+ "moduleResolution": "Bundler",
9
+ "allowImportingTsExtensions": true,
10
+ "resolveJsonModule": true,
11
+ "isolatedModules": true,
12
+ "noEmit": true,
13
+ "jsx": "react-jsx",
14
+ "strict": true
15
+ },
16
+ "include": ["src"]
17
+ }
@@ -0,0 +1,6 @@
1
+ import { defineConfig } from 'vite';
2
+ import react from '@vitejs/plugin-react';
3
+
4
+ export default defineConfig({
5
+ plugins: [react()]
6
+ });