林财明 5 ماه پیش
والد
کامیت
ee2e8e989b

+ 3 - 0
CraftsMart-angular/.gitignore

@@ -40,3 +40,6 @@ testem.log
 # System files
 .DS_Store
 Thumbs.db
+
+/www
+/android

+ 1 - 1
CraftsMart-angular/angular.json

@@ -17,7 +17,7 @@
         "build": {
           "builder": "@angular-devkit/build-angular:browser",
           "options": {
-            "outputPath": "dist/crafts-mart-angular",
+            "outputPath": "www",
             "index": "src/index.html",
             "main": "src/main.ts",
             "polyfills": [

+ 12 - 0
CraftsMart-angular/capacitor.config.ts

@@ -0,0 +1,12 @@
+import { CapacitorConfig } from '@capacitor/cli';
+
+const config: CapacitorConfig = {
+  appId: 'com.example.app',
+  appName: 'crafts-mart-angular',
+  webDir: 'www',
+  server: {
+    androidScheme: 'https'
+  }
+};
+
+export default config;

+ 3 - 0
CraftsMart-angular/package.json

@@ -18,6 +18,8 @@
     "@angular/platform-browser": "^16.2.0",
     "@angular/platform-browser-dynamic": "^16.2.0",
     "@angular/router": "^16.2.0",
+    "@capacitor/android": "^5.6.0",
+    "@capacitor/core": "^5.6.0",
     "@ionic/angular": "^7.5.6",
     "@types/parse": "^3.0.8",
     "babylonjs": "^6.27.1",
@@ -30,6 +32,7 @@
     "@angular-devkit/build-angular": "^16.2.2",
     "@angular/cli": "~16.2.2",
     "@angular/compiler-cli": "^16.2.0",
+    "@capacitor/cli": "^5.6.0",
     "@compodoc/compodoc": "^1.1.23",
     "@ionic/angular-toolkit": "latest",
     "@types/jasmine": "~4.3.0",

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 20 - 0
craftsmartshare/index.html


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است