added code example for html, react and vue #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
examples
directory, adding new HTML, React, and Vue examples for the MyTonSwap widget. The changes span across multiple files, introducing new configurations, dependencies, and example setups. Below are the most important changes:HTML Example:
examples/html/index.html
)React Example:
package.json
,tsconfig
files, andvite.config.ts
. (examples/react/package.json
,examples/react/tsconfig.app.json
,examples/react/tsconfig.json
,examples/react/tsconfig.node.json
,examples/react/vite.config.ts
) [1] [2] [3] [4] [5]App.tsx
) and configured the main entry point (main.tsx
) to use the MyTonSwap widget and TonConnectUI. (examples/react/src/App.tsx
,examples/react/src/main.tsx
) [1] [2]examples/react/eslint.config.js
).gitignore
file to exclude logs, build directories, and editor-specific files. (examples/react/.gitignore
)Vue Example:
package.json
andvite.config.ts
. (examples/vue/package.json
,examples/vue/vite.config.ts
) [1] [2]App.vue
) to integrate the MyTonSwap widget and TonConnectUI. (examples/vue/src/App.vue
).gitignore
file to exclude logs, build directories, and editor-specific files. (examples/vue/.gitignore
)examples/vue/.vscode/extensions.json
)