Skip to content

Commit ca032e6

Browse files
robertdorn83marwie
authored andcommitted
renamed "vite" to "Vite"
1 parent d5ccd3f commit ca032e6

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

documentation/_backlog-mermaid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ flowchart LR
1313
flowchart LR
1414
Editor([Unity Editor]) --> EditorExt([Components + Tools])
1515
EditorExt -- export data --> glTF([glTF + Extensions])
16-
glTF --> Bundler([Bundler - vite])
16+
glTF --> Bundler([Bundler - Vite])
1717
Runtime([Needle Runtime]) --> Bundler
1818
Three([Three.js]) --> Bundler
1919
YourWebsite([Classic web files - HTML, CSS, JS]) --> Bundler

documentation/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ You can either make sure you're using glTF-compatible materials and shaders, or
6666

6767
## Uncaught ReferenceError: NEEDLE_ENGINE_META is not defined / NEEDLE_USE_RAPIER is not defined
6868

69-
If you are using vite or next.js make sure to add the Needle Engine plugins to your config.
70-
Example for vite:
69+
If you are using Vite or next.js make sure to add the Needle Engine plugins to your config.
70+
Example for Vite:
7171
```js
7272
const { needlePlugins } = await import('@needle-tools/engine/plugins/vite/index.js');
7373
plugins: [needlePlugins(command, needleConfig)]

documentation/html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here's some example tech stacks that are possible and that we use Needle Engine
3030
- **Vercel & Nextjs** — Find a [example nextjs project here](https://github.com/needle-engine/nextjs-sample)
3131
- **CDN without any bundler** — Find a code example [here](./vanilla-js.md)
3232

33-
In short: we're currently providing a minimal vite template, but you can extend it or switch to other frameworks –
33+
In short: we're currently providing a minimal Vite template, but you can extend it or switch to other frameworks –
3434
Let us know what and how you build, and how we can improve the experience for your usecase or provide an example!
3535

3636
:::tip
@@ -77,7 +77,7 @@ Set `useRapier` to `false` in your vite.config: `needlePlugins(command, needleCo
7777

7878
## Creating a PWA
7979

80-
We support easily creating a Progressive Web App (PWA) directly from our vite template.
80+
We support easily creating a Progressive Web App (PWA) directly from our Vite template.
8181
PWAs are web applications that load like regular web pages or websites but can offer user functionality such as working offline, push notifications, and device hardware access traditionally available only to native mobile applications.
8282

8383
By default, PWAs created with Needle have offline support, and can optionally refresh automatically when you publish a new version of your app.
@@ -103,7 +103,7 @@ export default defineConfig(async ({ command }) => {
103103
needlePlugins(command, needleConfig, { pwa: pwaOptions }),
104104
VitePWA(pwaOptions),
105105
],
106-
// the rest of your vite config...
106+
// the rest of your Vite config...
107107
```
108108
109109
:::tip All assets are cached by default

documentation/unity/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If you find yourself creating many similar projects, you can create your own loc
116116

117117
-----
118118

119-
When creating a new web project in Unity, you can choose to create it from a local template (by default we ship a vite based web template).
119+
When creating a new web project in Unity, you can choose to create it from a local template (by default we ship a Vite based web template).
120120

121121
You can also reference remote templates by entering a repository URL in the ExportInfo project path (this can be saved with your scene for example). When creating a new web project the repository will be either cloned or downloaded (depending on if you have git installed) and searched for a `needle.config.json` file. If none can be found in the cloned repository the root directory will be used. Examples of remote template projects can be found on [github.com/needle-engine](https://github.com/needle-engine)
122122

llms.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ To build your web project for uploading to any web server you can click **Build*
838838

839839
To locally preview your final build you can use the `Preview Build` button at the bottom of the window. This button will first perform a regular build and then start a local server in the directory with the final files so you can see what you get once you upload these files to your webserver.
840840

841-
Nodejs is **only** required during development. The distributed website (using our default vite template) is a static page that doesn't rely on Nodejs and can be put on any regular web server. Nodejs is required if you want to run our minimalistic networking server on the same web server (automatically contained in the Glitch deployment process).
841+
Nodejs is **only** required during development. The distributed website (using our default Vite template) is a static page that doesn't rely on Nodejs and can be put on any regular web server. Nodejs is required if you want to run our minimalistic networking server on the same web server (automatically contained in the Glitch deployment process).
842842

843843

844844
---
@@ -1530,8 +1530,8 @@ You can either make sure you're using glTF-compatible materials and shaders, or
15301530

15311531
## Uncaught ReferenceError: NEEDLE_ENGINE_META is not defined / NEEDLE_USE_RAPIER is not defined
15321532

1533-
If you are using vite or next.js make sure to add the Needle Engine plugins to your config.
1534-
Example for vite:
1533+
If you are using Vite or next.js make sure to add the Needle Engine plugins to your config.
1534+
Example for Vite:
15351535
```js
15361536
const { needlePlugins } = await import('@needle-tools/engine/plugins/vite/index.js');
15371537
plugins: [needlePlugins(command, needleConfig)]
@@ -1918,7 +1918,7 @@ Here's some example tech stacks that are possible and that we use Needle Engine
19181918
- **Vercel & Nextjs** — Find a [example nextjs project here](https://github.com/needle-engine/nextjs-sample)
19191919
- **CDN without any bundler** — Find a code example [here](./vanilla-js.md)
19201920

1921-
In short: we're currently providing a minimal vite template, but you can extend it or switch to other frameworks –
1921+
In short: we're currently providing a minimal Vite template, but you can extend it or switch to other frameworks –
19221922
Let us know what and how you build, and how we can improve the experience for your usecase or provide an example!
19231923

19241924
:::tip
@@ -1965,7 +1965,7 @@ Set `useRapier` to `false` in your vite.config: `needlePlugins(command, needleCo
19651965

19661966
## Creating a PWA
19671967

1968-
We support easily creating a Progressive Web App (PWA) directly from our vite template.
1968+
We support easily creating a Progressive Web App (PWA) directly from our Vite template.
19691969
PWAs are web applications that load like regular web pages or websites but can offer user functionality such as working offline, push notifications, and device hardware access traditionally available only to native mobile applications.
19701970

19711971
By default, PWAs created with Needle have offline support, and can optionally refresh automatically when you publish a new version of your app.
@@ -1991,7 +1991,7 @@ export default defineConfig(async ({ command }) => {
19911991
needlePlugins(command, needleConfig, { pwa: pwaOptions }),
19921992
VitePWA(pwaOptions),
19931993
],
1994-
// the rest of your vite config...
1994+
// the rest of your Vite config...
19951995
```
19961996

19971997
:::tip All assets are cached by default
@@ -7070,7 +7070,7 @@ If you find yourself creating many similar projects, you can create your own loc
70707070

70717071
-----
70727072

7073-
When creating a new web project in Unity, you can choose to create it from a local template (by default we ship a vite based web template).
7073+
When creating a new web project in Unity, you can choose to create it from a local template (by default we ship a Vite based web template).
70747074

70757075
You can also reference remote templates by entering a repository URL in the ExportInfo project path (this can be saved with your scene for example). When creating a new web project the repository will be either cloned or downloaded (depending on if you have git installed) and searched for a `needle.config.json` file. If none can be found in the cloned repository the root directory will be used. Examples of remote template projects can be found on [github.com/needle-engine](https://github.com/needle-engine)
70767076

0 commit comments

Comments
 (0)