Skip to content
/ SolidJSTauri Public template

🦀 This is a fully-featured Tauri project template using Solid-JS 🦀

Notifications You must be signed in to change notification settings

ZanzyTHEbar/SolidJSTauri

Repository files navigation

SolidJSTauri

This is a streamlined Tauri example using Vite and SolidJS

This example includes:

Usage

Important

This project uses pnpm by default.

$ pnpm install # or yarn install or npm install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

pnpm tauri dev

Runs the app in the development mode.

An app should launch on your desktop.

Alternatively open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

pnpm docs

Uses JSDoc to build a documentation website based on the projects documentation.

pnpm lint

Runs eslint on all of the included files.

pnpm format

Uses Prettier and the above pnpm lint command to lint and then format all included file types.

Deployment

To build your app, run the following:

pnpm tauri build

Builds the app for production to the src-tauri/target folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!