gradio/js/_website
Michael 2cc813a287
Fix OS detection for cross-browser compatibility (#8784)
* chore: add .python-version to .gitignore

* fix(get_os): ensure compatibility across all browsers

* format

* chore: add ts ignore comment again

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-07-17 15:51:36 -07:00
..
generate_jsons Add search to website (#8624) 2024-07-03 21:57:11 -07:00
src Fix OS detection for cross-browser compatibility (#8784) 2024-07-17 15:51:36 -07:00
static
.gitignore
.npmrc
CHANGELOG.md chore: update versions (#8663) 2024-07-12 11:54:28 -07:00
package.json Improve styling of parameter tables in the docs (#8618) 2024-07-16 15:53:04 -07:00
postcss.config.cjs
README.md
svelte.config.js
tailwind.config.cjs
tsconfig.json
vercel.json
vite.config.ts fix website build (#8559) 2024-06-15 09:44:57 +00:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.