diff --git a/ng-app-native/.gitignore b/ng-app-native/.gitignore index a547bf3..a49d34c 100644 --- a/ng-app-native/.gitignore +++ b/ng-app-native/.gitignore @@ -9,6 +9,7 @@ lerna-debug.log* node_modules dist +dist-web dist-ssr *.local diff --git a/ng-app-native/package.json b/ng-app-native/package.json index 0405ff1..5394766 100644 --- a/ng-app-native/package.json +++ b/ng-app-native/package.json @@ -5,6 +5,8 @@ "type": "module", "scripts": { "dev": "vite", + "webdev": "cross-env NG_APP_WEB=1 TAURI_DEBUG=1 vite", + "webbuild": "cross-env NG_APP_WEB=1 vite build", "build": "vite build", "preview": "vite preview", "check": "svelte-check --tsconfig ./tsconfig.json", @@ -24,6 +26,7 @@ "@tsconfig/svelte": "^3.0.0", "@types/node": "^18.7.10", "autoprefixer": "^10.4.14", + "cross-env": "^7.0.3", "internal-ip": "^7.0.0", "postcss": "^8.4.23", "postcss-load-config": "^4.0.1", diff --git a/ng-app-native/pnpm-lock.yaml b/ng-app-native/pnpm-lock.yaml index 1fe4f57..bed661f 100644 --- a/ng-app-native/pnpm-lock.yaml +++ b/ng-app-native/pnpm-lock.yaml @@ -9,6 +9,7 @@ specifiers: '@types/node': ^18.7.10 autoprefixer: ^10.4.14 classnames: ^2.3.2 + cross-env: ^7.0.3 flowbite: ^1.6.5 flowbite-svelte: ^0.37.1 internal-ip: ^7.0.0 @@ -37,6 +38,7 @@ devDependencies: '@tsconfig/svelte': 3.0.0 '@types/node': 18.16.13 autoprefixer: 10.4.14_postcss@8.4.23 + cross-env: 7.0.3 internal-ip: 7.0.0 postcss: 8.4.23 postcss-load-config: 4.0.1_postcss@8.4.23 @@ -557,6 +559,14 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true + /cross-env/7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + dependencies: + cross-spawn: 7.0.3 + dev: true + /cross-spawn/7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} diff --git a/ng-app-native/src/lib/Greet.svelte b/ng-app-native/src/lib/Greet.svelte index 05c46ef..b96dbaf 100644 --- a/ng-app-native/src/lib/Greet.svelte +++ b/ng-app-native/src/lib/Greet.svelte @@ -1,21 +1,30 @@
- +

{greetMsg}

-
\ No newline at end of file + diff --git a/ng-app-native/src/routes/Home.svelte b/ng-app-native/src/routes/Home.svelte index 62bc65e..51d3200 100644 --- a/ng-app-native/src/routes/Home.svelte +++ b/ng-app-native/src/routes/Home.svelte @@ -1,3 +1,8 @@ + +
@@ -5,27 +10,29 @@

Welcome to NextGraph

- + + Create account + +