forked from dojoengine/dojo.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dojoengine#159 from LidamaoHub/main
Update: add vue templates
- Loading branch information
Showing
28 changed files
with
2,907 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules | ||
docs | ||
docs | ||
|
||
.DS_Store |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Dojo.js Vue Template Library | ||
|
||
### Introduction | ||
|
||
Dojo.js Vue Template Library is a Vue.js component library for quickly building Dojo.js applications. It provides a set of out-of-the-box components that help you quickly build complex Dojo.js applications. | ||
|
||
### Installation | ||
|
||
Make sure you have a ../../dojo-starter folder. | ||
|
||
Install the dependencies in the project root directory by running the following command: | ||
|
||
```pnpm i``` | ||
|
||
### Start the project | ||
|
||
Start the project by running the following command: | ||
|
||
```pnpm dev``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import manifest from "../../dojo-starter/target/dev/manifest.json"; | ||
import { createDojoConfig } from "@dojoengine/core"; | ||
|
||
export const dojoConfig = createDojoConfig({ | ||
manifest, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + Vue + TS</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "vue-app", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"create-components": "npx @dojoengine/core ../../dojo-starter/target/dev/manifest.json src/dojo/generated/contractComponents.ts http://localhost:5050 0x28f5999ae62fec17c09c52a800e244961dba05251f5aaf923afabd9c9804d1a" | ||
}, | ||
"dependencies": { | ||
"@dojoengine/core": "0.5.9", | ||
"@dojoengine/recs": "0.1.35", | ||
"@dojoengine/state": "0.5.9", | ||
"@dojoengine/torii-client": "0.5.9", | ||
"@dojoengine/utils": "0.5.9", | ||
"@latticexyz/utils": "^1.43.0", | ||
"starknet": "^5.24.3", | ||
"vite-plugin-top-level-await": "^1.4.1", | ||
"vite-plugin-wasm": "^3.3.0", | ||
"vue": "^3.4.19" | ||
}, | ||
"devDependencies": { | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.4", | ||
"vue-tsc": "^2.0.4" | ||
} | ||
} |
Oops, something went wrong.