create-pixi-vn 0.1.7 → 0.1.9

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 (95) hide show
  1. package/README.md +5 -0
  2. package/dist/index.mjs +20 -20
  3. package/package.json +2 -1
  4. package/template-react-vite-muijoy/README.md +14 -14
  5. package/template-react-vite-muijoy/src/AppRoutes.tsx +1 -0
  6. package/template-react-vite-muijoy/src/utility/ActionsUtility.ts +6 -2
  7. package/template-react-vite-muijoy/vite.config.ts +3 -0
  8. package/template-react-vite-muijoy-multidevice/.eslintrc.cjs +29 -0
  9. package/template-react-vite-muijoy-multidevice/.vscode/extensions.json +8 -0
  10. package/template-react-vite-muijoy-multidevice/.vscode/launch.json +32 -0
  11. package/template-react-vite-muijoy-multidevice/.vscode/settings.json +49 -0
  12. package/template-react-vite-muijoy-multidevice/README.md +197 -0
  13. package/template-react-vite-muijoy-multidevice/_gitignore +109 -0
  14. package/template-react-vite-muijoy-multidevice/forge.config.cts +73 -0
  15. package/template-react-vite-muijoy-multidevice/forge.env.d.ts +31 -0
  16. package/template-react-vite-muijoy-multidevice/index.html +13 -0
  17. package/template-react-vite-muijoy-multidevice/ionic.config.json +7 -0
  18. package/template-react-vite-muijoy-multidevice/package-lock.json +16598 -0
  19. package/template-react-vite-muijoy-multidevice/package.json +86 -0
  20. package/template-react-vite-muijoy-multidevice/public/apple-touch-icon.png +0 -0
  21. package/template-react-vite-muijoy-multidevice/public/favicon.ico +0 -0
  22. package/template-react-vite-muijoy-multidevice/public/mask-icon.svg +890 -0
  23. package/template-react-vite-muijoy-multidevice/public/pwa-192x192.png +0 -0
  24. package/template-react-vite-muijoy-multidevice/public/pwa-512x512.png +0 -0
  25. package/template-react-vite-muijoy-multidevice/public/robots.txt +3 -0
  26. package/template-react-vite-muijoy-multidevice/public/vite.svg +23 -0
  27. package/template-react-vite-muijoy-multidevice/src/App.css +42 -0
  28. package/template-react-vite-muijoy-multidevice/src/App.tsx +16 -0
  29. package/template-react-vite-muijoy-multidevice/src/AppRoutes.tsx +64 -0
  30. package/template-react-vite-muijoy-multidevice/src/Home.tsx +14 -0
  31. package/template-react-vite-muijoy-multidevice/src/Imports.tsx +30 -0
  32. package/template-react-vite-muijoy-multidevice/src/atoms/autoInfoState.ts +50 -0
  33. package/template-react-vite-muijoy-multidevice/src/atoms/canGoBackState.ts +13 -0
  34. package/template-react-vite-muijoy-multidevice/src/atoms/choiceMenuState.ts +24 -0
  35. package/template-react-vite-muijoy-multidevice/src/atoms/dialogDataState.ts +35 -0
  36. package/template-react-vite-muijoy-multidevice/src/atoms/dialogueCardHeightState.ts +23 -0
  37. package/template-react-vite-muijoy-multidevice/src/atoms/dialogueCardImageWidthState.ts +23 -0
  38. package/template-react-vite-muijoy-multidevice/src/atoms/hideInterfaceState.ts +6 -0
  39. package/template-react-vite-muijoy-multidevice/src/atoms/hideNextButtonState.ts +15 -0
  40. package/template-react-vite-muijoy-multidevice/src/atoms/nextStepLoadingState.ts +6 -0
  41. package/template-react-vite-muijoy-multidevice/src/atoms/openHistoryState.ts +6 -0
  42. package/template-react-vite-muijoy-multidevice/src/atoms/openLoadAlertState.ts +6 -0
  43. package/template-react-vite-muijoy-multidevice/src/atoms/openSettingsState.ts +6 -0
  44. package/template-react-vite-muijoy-multidevice/src/atoms/quickSaveState.ts +22 -0
  45. package/template-react-vite-muijoy-multidevice/src/atoms/reloadInterfaceDataEventState.ts +6 -0
  46. package/template-react-vite-muijoy-multidevice/src/atoms/skipEnabledState.ts +6 -0
  47. package/template-react-vite-muijoy-multidevice/src/atoms/typewriterDelayState.ts +23 -0
  48. package/template-react-vite-muijoy-multidevice/src/atoms/typewriterIsAnimatedState.ts +6 -0
  49. package/template-react-vite-muijoy-multidevice/src/components/ChoiceButton.tsx +19 -0
  50. package/template-react-vite-muijoy-multidevice/src/components/DragHandleDivider.tsx +40 -0
  51. package/template-react-vite-muijoy-multidevice/src/components/MenuButton.tsx +37 -0
  52. package/template-react-vite-muijoy-multidevice/src/components/ModalDialog.tsx +101 -0
  53. package/template-react-vite-muijoy-multidevice/src/components/SettingButton.tsx +44 -0
  54. package/template-react-vite-muijoy-multidevice/src/components/SliderResizer.tsx +49 -0
  55. package/template-react-vite-muijoy-multidevice/src/components/TextMenuButton.tsx +41 -0
  56. package/template-react-vite-muijoy-multidevice/src/components/Typewriter.tsx +30 -0
  57. package/template-react-vite-muijoy-multidevice/src/components/TypewriterMarkdown.tsx +335 -0
  58. package/template-react-vite-muijoy-multidevice/src/i18n.ts +28 -0
  59. package/template-react-vite-muijoy-multidevice/src/index.css +9 -0
  60. package/template-react-vite-muijoy-multidevice/src/interceptors/DialogueDataEventInterceptor.tsx +47 -0
  61. package/template-react-vite-muijoy-multidevice/src/interceptors/EventInterceptor.tsx +42 -0
  62. package/template-react-vite-muijoy-multidevice/src/interceptors/SkipAutoInterceptor.tsx +67 -0
  63. package/template-react-vite-muijoy-multidevice/src/main.tsx +27 -0
  64. package/template-react-vite-muijoy-multidevice/src/pixi-vn.d.ts +29 -0
  65. package/template-react-vite-muijoy-multidevice/src/providers/ThemeProvider.tsx +157 -0
  66. package/template-react-vite-muijoy-multidevice/src/screens/ChoicesMenu.tsx +172 -0
  67. package/template-react-vite-muijoy-multidevice/src/screens/Dialogue.tsx +238 -0
  68. package/template-react-vite-muijoy-multidevice/src/screens/History.tsx +141 -0
  69. package/template-react-vite-muijoy-multidevice/src/screens/LoadingPage.tsx +40 -0
  70. package/template-react-vite-muijoy-multidevice/src/screens/MainMenu.tsx +78 -0
  71. package/template-react-vite-muijoy-multidevice/src/screens/NextButton.tsx +91 -0
  72. package/template-react-vite-muijoy-multidevice/src/screens/QuickActions.tsx +168 -0
  73. package/template-react-vite-muijoy-multidevice/src/screens/QuickLoadAlert.tsx +82 -0
  74. package/template-react-vite-muijoy-multidevice/src/screens/Settings.tsx +503 -0
  75. package/template-react-vite-muijoy-multidevice/src/utility/ActionsUtility.ts +76 -0
  76. package/template-react-vite-muijoy-multidevice/src/utility/ComponentUtility.ts +25 -0
  77. package/template-react-vite-muijoy-multidevice/src/utility/useMyNavigate.ts +15 -0
  78. package/template-react-vite-muijoy-multidevice/src/values/characters.ts +10 -0
  79. package/template-react-vite-muijoy-multidevice/src/values/translations/strings_en.json +45 -0
  80. package/template-react-vite-muijoy-multidevice/src/vite-env.d.ts +1 -0
  81. package/template-react-vite-muijoy-multidevice/src-electron/icons/icon.icns +0 -0
  82. package/template-react-vite-muijoy-multidevice/src-electron/icons/icon.ico +0 -0
  83. package/template-react-vite-muijoy-multidevice/src-electron/icons/icon.png +0 -0
  84. package/template-react-vite-muijoy-multidevice/src-electron/index.css +7 -0
  85. package/template-react-vite-muijoy-multidevice/src-electron/main.ts +67 -0
  86. package/template-react-vite-muijoy-multidevice/src-electron/preload.ts +2 -0
  87. package/template-react-vite-muijoy-multidevice/src-electron/renderer.ts +31 -0
  88. package/template-react-vite-muijoy-multidevice/tsconfig.json +32 -0
  89. package/template-react-vite-muijoy-multidevice/tsconfig.node.json +11 -0
  90. package/template-react-vite-muijoy-multidevice/vite.base.config.ts +93 -0
  91. package/template-react-vite-muijoy-multidevice/vite.config.ts +50 -0
  92. package/template-react-vite-muijoy-multidevice/vite.main.config.ts +34 -0
  93. package/template-react-vite-muijoy-multidevice/vite.preload.config.ts +29 -0
  94. package/template-react-vite-muijoy-multidevice/vite.renderer.config.ts +24 -0
  95. /package/template-react-vite-muijoy/{_ignore → _gitignore} +0 -0
@@ -0,0 +1,197 @@
1
+ # Pixi'VN template (React + Vite + MUI joy)
2
+
3
+ This is a template for creating visual novels in React. It uses the Pixi'VN library and Vite as a build tool.
4
+ This Template contains basic functionality inspired by the widespread Visual Noval engine Ren'Py.
5
+
6
+ ## Overview
7
+
8
+ The first page that appears is the main menu. From there, you can start the game, load a saved game, or go to the settings.
9
+
10
+ The game page is in `/game` route. It contains the text box, character avatar, and canvas for the background image. The text box displays the text of the current dialogue. The character avatar displays the character speaking the dialogue. The background image is the background of the scene.
11
+ When a choice has to be made, the choices are displayed at the top of the screen.
12
+
13
+ When you are in the game page, you can access with many features through a list of buttons located at the bottom. In this list you can save the game, load a saved game, skip the dialogue, auto play the dialogue, access to the history modal, and access to the settings modal.
14
+
15
+ The history modal is a list of all the dialogues and choices that have been displayed.
16
+
17
+ The settings modal allows you to change the text speed, go to full screen, edit theme colors, and change go to main menu. The settings for the audio have not been added nor the libraries to manage it, but I recommend adding them.
18
+
19
+ ## How to use
20
+
21
+ Before starting, you need to have Node.js installed on your computer. If you don't have it, you can download it [here](https://nodejs.org/).
22
+
23
+ ### Installation
24
+
25
+ First, is necessary install the dependencies. To do this, open a terminal in the root folder of the project and run the following command:
26
+
27
+ ```bash
28
+ npm install
29
+ ```
30
+
31
+ ### Start the web application
32
+
33
+ To start the web application, run the following command:
34
+
35
+ ```bash
36
+ npm start
37
+ ```
38
+
39
+ This command will start the development server. Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
40
+
41
+ #### Debugging the web application
42
+
43
+ If you use Visual Studio Code, you can use the debug configuration that comes with the template. To do this, go to the debug section and select the `Launch Chrome` configuration.
44
+
45
+ ### Start the Desktop Program (Electron)
46
+
47
+ To start the Electron application, run the following command:
48
+
49
+ ```bash
50
+ npm run electron:start
51
+ ```
52
+
53
+ This command will start the Electron application. The application will open in a window on your computer.
54
+
55
+ #### Debugging the Desktop Program
56
+
57
+ If you use Visual Studio Code, you can use the debug configuration that comes with the template. To do this, go to the debug section and select the `Launch Desktop Program` configuration.
58
+
59
+ ### Mobile development
60
+
61
+ This project gives the possibility to introduce the Ionic Framework to develop a mobile application. To do this I recommend following [this tutorial](https://pixi-vn.web.app/distribution%E2%80%90mobile.html).
62
+
63
+ ## Keyboard shortcuts (hotkeys)
64
+
65
+ * `Space` or `Enter`: Continue the dialogue.
66
+ * `Keep Space` or `Keep Enter`: Skip the dialogue.
67
+ * `Shift` + `S`: Quick save the game.
68
+ * `Shift` + `L`: Quick load the game.
69
+ * `Shift` + `H`: Open the history modal.
70
+ * `Esc`: Open the settings modal.
71
+ * `Shift` + `V`: Hide the Interface (Show only the canvas).
72
+
73
+ ## Used libraries
74
+
75
+ This template uses the following libraries:
76
+
77
+ Core libraries:
78
+
79
+ * [Pixi'VN](https://www.npmjs.com/package/@drincs/pixi-vn): A visual novel library for PixiJS.
80
+ * [Vite](https://vitejs.dev/): A build tool that aims to provide a faster and leaner development experience for modern web projects.
81
+ * [Vite Checker](https://www.npmjs.com/package/vite-plugin-checker): A Vite plugin that checks TypeScript types and ESLint on each build.
82
+ * [PWA Vite Plugin](https://vite-pwa-org.netlify.app): A Vite plugin that provides PWA support. This allows the possibility of installing the game as a Progressive Web App.
83
+ * [Recoil](https://recoiljs.org/): A state management library for React.
84
+ * [React Router](https://reactrouter.com/): A library that provides routing for React applications.
85
+
86
+ UI libraries:
87
+
88
+ * [Mui Joy](https://mui.com/joy-ui/getting-started/): A React UI framework that provides a set of components and styles for building a website.
89
+ * [Framer Motion](https://www.framer.com/motion/): A simple yet powerful motion library for React.
90
+ * [Notistack](https://iamhosseindhv.com/notistack): A library that provides snackbar notifications for React.
91
+
92
+ Text libraries:
93
+
94
+ * [i18next](https://www.i18next.com/): A library that gives the possibility to manage multiple translations in the application.
95
+ * [Reacr Markdown](https://www.npmjs.com/package/react-markdown): A library that allows you to render markdown in React components.
96
+
97
+ ## Distribution
98
+
99
+ ### Web application distribution
100
+
101
+ To build the project, run the following command:
102
+
103
+ ```bash
104
+ npm run build
105
+ ```
106
+
107
+ This command will create a `dist` folder with the files necessary to run the application. You can deploy this folder to a web server.
108
+
109
+ You can read more about the possibilities of hosting in the [Pixi’VN documentation](https://pixi-vn.web.app/advanced/distribution.html#hosting).
110
+
111
+ ### Desktop application distribution
112
+
113
+ To generate packages to install desktop devices we will use [Electron Forge Maker](https://www.electronforge.io/config/makers). Add more distribution settings to the `forge.config.cts` file.
114
+
115
+ Basically it can run the following commands, installing the necessary libraries. You can reparse the generated packages from the `out` folder.
116
+
117
+ ```bash
118
+ # Windows
119
+ npm run electron:make -- --platform win32
120
+ # Linux
121
+ npm run electron:make -- --platform linux
122
+ # MacOS
123
+ npm run electron:make -- --platform darwin
124
+ ```
125
+
126
+ Below is a more detailed explanation of the steps to take. (Not having an Apple Mac, I was unable to test this process)
127
+
128
+ ### Windows Distribution
129
+
130
+ ### From Windows to Windows
131
+
132
+ You can run the following commands to generate the distribution package.
133
+
134
+ ```bash
135
+ npm run electron:make -- --platform win32
136
+ ```
137
+
138
+ ### From Linux to Windows
139
+
140
+ You can run the following commands to generate the distribution package.
141
+
142
+ ```bash
143
+ sudo apt install wine
144
+ sudo apt install mono-complete
145
+ sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32
146
+ npm run electron:make -- --platform win32
147
+ ```
148
+
149
+ ## Linux Distribution
150
+
151
+ ### From Windows to Linux
152
+
153
+ You can run the following commands to generate the distribution package.
154
+
155
+ ```bash
156
+ npm run electron:make -- --platform linux
157
+ ```
158
+
159
+ If you get the following error `the maker declared that it cannot run on win32.` then you will need to [install WSL](https://learn.microsoft.com/en-us/windows/wsl/install) and after that run the following command.
160
+
161
+ ```bash
162
+ bash
163
+ npm run electron:make -- --platform linux
164
+ exit
165
+ ```
166
+
167
+ ### Fom Linux to Linux
168
+
169
+ You can run the following commands to generate the distribution package.
170
+
171
+ ```bash
172
+ sudo apt install rpm dpkg fakeroot
173
+ npm run electron:make -- --platform linux
174
+ ```
175
+
176
+ ## MacOS Distribution
177
+
178
+ ### From Windows to MacOS
179
+
180
+ You can run the following commands to generate the distribution package.
181
+
182
+ ```bash
183
+ npm run electron:make -- --platform darwin
184
+ ```
185
+
186
+ ### From Linux to MacOS
187
+
188
+ You can run the following commands to generate the distribution package.
189
+
190
+ ```bash
191
+ sudo apt install zip
192
+ npm run electron:make -- --platform darwin
193
+ ```
194
+
195
+ ## Custom App Icons
196
+
197
+ Read the [Electron Forge documentation](https://www.electronforge.io/guides/create-and-add-icons).
@@ -0,0 +1,109 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
25
+
26
+ # Diagnostic reports (https://nodejs.org/api/report.html)
27
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
28
+
29
+ # Runtime data
30
+ pids
31
+ *.pid
32
+ *.seed
33
+ *.pid.lock
34
+ .DS_Store
35
+
36
+ # Directory for instrumented libs generated by jscoverage/JSCover
37
+ lib-cov
38
+
39
+ # Coverage directory used by tools like istanbul
40
+ coverage
41
+ *.lcov
42
+
43
+ # nyc test coverage
44
+ .nyc_output
45
+
46
+ # node-waf configuration
47
+ .lock-wscript
48
+
49
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
50
+ build/Release
51
+
52
+ # Dependency directories
53
+ node_modules/
54
+ jspm_packages/
55
+
56
+ # TypeScript v1 declaration files
57
+ typings/
58
+
59
+ # TypeScript cache
60
+ *.tsbuildinfo
61
+
62
+ # Optional npm cache directory
63
+ .npm
64
+
65
+ # Optional eslint cache
66
+ .eslintcache
67
+
68
+ # Optional REPL history
69
+ .node_repl_history
70
+
71
+ # Output of 'npm pack'
72
+ *.tgz
73
+
74
+ # Yarn Integrity file
75
+ .yarn-integrity
76
+
77
+ # dotenv environment variables file
78
+ .env
79
+ .env.test
80
+
81
+ # parcel-bundler cache (https://parceljs.org/)
82
+ .cache
83
+
84
+ # next.js build output
85
+ .next
86
+
87
+ # nuxt.js build output
88
+ .nuxt
89
+
90
+ # vuepress build output
91
+ .vuepress/dist
92
+
93
+ # Serverless directories
94
+ .serverless/
95
+
96
+ # FuseBox cache
97
+ .fusebox/
98
+
99
+ # DynamoDB Local files
100
+ .dynamodb/
101
+
102
+ # Webpack
103
+ .webpack/
104
+
105
+ # Vite
106
+ .vite/
107
+
108
+ # Electron-Forge
109
+ out/
@@ -0,0 +1,73 @@
1
+ import { MakerDeb } from '@electron-forge/maker-deb';
2
+ import { MakerRpm } from '@electron-forge/maker-rpm';
3
+ import { MakerSquirrel } from '@electron-forge/maker-squirrel';
4
+ import { MakerZIP } from '@electron-forge/maker-zip';
5
+ import { FusesPlugin } from '@electron-forge/plugin-fuses';
6
+ import { VitePlugin } from '@electron-forge/plugin-vite';
7
+ import type { ForgeConfig } from '@electron-forge/shared-types';
8
+ import { FuseV1Options, FuseVersion } from '@electron/fuses';
9
+
10
+ const config: ForgeConfig = {
11
+ packagerConfig: {
12
+ asar: true,
13
+ },
14
+ rebuildConfig: {},
15
+ makers: [
16
+ // The `MakerSquirrel` maker is only supported on Windows
17
+ new MakerSquirrel({
18
+ setupIcon: "src-electron/icons/icon.ico",
19
+ setupExe: "game.exe",
20
+ }),
21
+ // The `MakerZIP` maker is only supported on macOS
22
+ new MakerZIP({}, ['darwin']),
23
+ // The `MakerRpm` and `MakerDeb` makers are only supported on Linux
24
+ new MakerRpm({
25
+ options: {
26
+ categories: ["Game"],
27
+ icon: "src-electron/icons/icon.png",
28
+ }
29
+ }),
30
+ new MakerDeb({
31
+ options: {
32
+ categories: ["Game"],
33
+ icon: "src-electron/icons/icon.png",
34
+ }
35
+ })
36
+ ],
37
+ plugins: [
38
+ new VitePlugin({
39
+ // `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.
40
+ // If you are familiar with Vite configuration, it will look really familiar.
41
+ build: [
42
+ {
43
+ // `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`.
44
+ entry: 'src-electron/main.ts',
45
+ config: 'vite.main.config.ts',
46
+ },
47
+ {
48
+ entry: 'src-electron/preload.ts',
49
+ config: 'vite.preload.config.ts',
50
+ },
51
+ ],
52
+ renderer: [
53
+ {
54
+ name: 'main_window',
55
+ config: 'vite.renderer.config.ts',
56
+ },
57
+ ],
58
+ }),
59
+ // Fuses are used to enable/disable various Electron functionality
60
+ // at package time, before code signing the application
61
+ new FusesPlugin({
62
+ version: FuseVersion.V1,
63
+ [FuseV1Options.RunAsNode]: false,
64
+ [FuseV1Options.EnableCookieEncryption]: true,
65
+ [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
66
+ [FuseV1Options.EnableNodeCliInspectArguments]: false,
67
+ [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
68
+ [FuseV1Options.OnlyLoadAppFromAsar]: true,
69
+ }),
70
+ ],
71
+ };
72
+
73
+ export default config;
@@ -0,0 +1,31 @@
1
+ export {}; // Make this a module
2
+
3
+ declare global {
4
+ // This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Vite
5
+ // plugin that tells the Electron app where to look for the Vite-bundled app code (depending on
6
+ // whether you're running in development or production).
7
+ const MAIN_WINDOW_VITE_DEV_SERVER_URL: string;
8
+ const MAIN_WINDOW_VITE_NAME: string;
9
+
10
+ namespace NodeJS {
11
+ interface Process {
12
+ // Used for hot reload after preload scripts.
13
+ viteDevServers: Record<string, import('vite').ViteDevServer>;
14
+ }
15
+ }
16
+
17
+ type VitePluginConfig = ConstructorParameters<typeof import('@electron-forge/plugin-vite').VitePlugin>[0];
18
+
19
+ interface VitePluginRuntimeKeys {
20
+ VITE_DEV_SERVER_URL: `${string}_VITE_DEV_SERVER_URL`;
21
+ VITE_NAME: `${string}_VITE_NAME`;
22
+ }
23
+ }
24
+
25
+ declare module 'vite' {
26
+ interface ConfigEnv<K extends keyof VitePluginConfig = keyof VitePluginConfig> {
27
+ root: string;
28
+ forgeConfig: VitePluginConfig;
29
+ forgeConfigSelf: VitePluginConfig[K][number];
30
+ }
31
+ }
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>My App</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="/src/main.tsx"></script>
12
+ </body>
13
+ </html>
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "my-app",
3
+ "integrations": {
4
+ "capacitor": {}
5
+ },
6
+ "type": "react-vite"
7
+ }