🦀 This is a fully-featured Tauri project template using Solid-JS 🦀
This is a streamlined Tauri
example using Vite
and SolidJS
This example includes:
[!IMPORTANT] This project uses
pnpm
by default.
$ pnpm install # or yarn install or npm install
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.
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!