create-switch-framework-app 0.1.0 → 0.2.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.
- package/README.md +25 -25
- package/bin/create-switch-framework-app.js +510 -502
- package/package.json +31 -31
- package/templates/electron/base/app/(tabs)/+not-found.js +157 -157
- package/templates/electron/base/app/(tabs)/_layout.js +57 -93
- package/templates/electron/base/app/(tabs)/explore.js +55 -44
- package/templates/electron/base/app/(tabs)/index.js +10 -24
- package/templates/electron/base/app/+not-found.js +148 -158
- package/templates/electron/base/app/_layout.js +24 -44
- package/templates/electron/base/app/index.js +16 -30
- package/templates/electron/base/assets/logo.svg +5 -5
- package/templates/electron/base/components/SwSplashScreen.js +1 -1
- package/templates/electron/base/components/SwStarterSplashScreen.js +130 -140
- package/templates/electron/base/components/SwTabBar.js +146 -153
- package/templates/electron/base/electron/electron-builder.json +19 -19
- package/templates/electron/base/electron/main.js +30 -30
- package/templates/electron/base/electron/preload.js +5 -5
- package/templates/electron/base/index.js +2 -3
- package/templates/electron/base/main.js +1 -1
- package/templates/electron/base/preload.js +1 -1
- package/templates/electron/base/server.js +27 -42
- package/templates/web/base/app/(tabs)/+not-found.js +157 -157
- package/templates/web/base/app/(tabs)/_layout.js +57 -93
- package/templates/web/base/app/(tabs)/explore.js +55 -44
- package/templates/web/base/app/(tabs)/index.js +10 -24
- package/templates/web/base/app/+not-found.js +148 -158
- package/templates/web/base/app/_layout.js +24 -44
- package/templates/web/base/app/index.js +16 -30
- package/templates/web/base/assets/logo.svg +5 -5
- package/templates/web/base/components/SwSplashScreen.js +1 -1
- package/templates/web/base/components/SwStarterSplashScreen.js +130 -140
- package/templates/web/base/components/SwTabBar.js +146 -153
- package/templates/web/base/index.js +2 -3
- package/templates/electron/base/app/(tabs)/register.js +0 -12
- package/templates/electron/base/app/register.js +0 -12
- package/templates/web/base/app/(tabs)/register.js +0 -12
- package/templates/web/base/app/register.js +0 -12
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# create-switch-framework-app
|
|
2
|
-
|
|
3
|
-
Status: Under maintenance. Documentation is not ready yet.
|
|
4
|
-
|
|
5
|
-
create-switch-framework-app is a CLI for initializing apps that use Switch Framework tools.
|
|
6
|
-
|
|
7
|
-
It can scaffold projects for:
|
|
8
|
-
|
|
9
|
-
- Web app development
|
|
10
|
-
- Electron desktop app development
|
|
11
|
-
|
|
12
|
-
## Usage
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npx create-switch-framework-app my-app
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Or install globally:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npm i -g create-switch-framework-app
|
|
22
|
-
create-switch-framework-app my-app
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Made by Switcherfaiz
|
|
1
|
+
# create-switch-framework-app
|
|
2
|
+
|
|
3
|
+
Status: Under maintenance. Documentation is not ready yet.
|
|
4
|
+
|
|
5
|
+
create-switch-framework-app is a CLI for initializing apps that use Switch Framework tools.
|
|
6
|
+
|
|
7
|
+
It can scaffold projects for:
|
|
8
|
+
|
|
9
|
+
- Web app development
|
|
10
|
+
- Electron desktop app development
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx create-switch-framework-app my-app
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Or install globally:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm i -g create-switch-framework-app
|
|
22
|
+
create-switch-framework-app my-app
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Made by Switcherfaiz
|