2024-06-18 16:58:16 +02:00
2024-06-18 16:58:16 +02:00
2024-06-16 11:48:40 +02:00
2024-06-16 23:07:18 +02:00
2024-06-16 23:07:13 +02:00
2024-06-16 01:35:44 +02:00
2024-06-16 01:35:44 +02:00
2024-06-16 01:35:44 +02:00
2024-06-16 01:35:44 +02:00
2024-06-16 11:48:40 +02:00
2024-06-17 10:05:31 +02:00
2024-06-16 22:28:25 +02:00
2024-06-17 10:05:31 +02:00
2024-06-16 17:00:07 +02:00
2024-06-17 10:10:48 +02:00
2024-06-17 10:05:31 +02:00
2024-06-16 01:35:44 +02:00
2024-06-16 23:07:18 +02:00

logo

NUXTOR

A spiritual successor of ViTauri, made with Nuxt 3 and Tauri 2
Build super fast desktop applications!

⚠️ nuxtor is still a WIP



Powered by Nuxt 3


Technologies run-down

  • Nuxt 3
  • Tauri 2
  • UnoCSS
  • Typescript
  • ESLint
  • Auto imports (for Tauri api too!)

Functionalities

  • Run shell commands from the app
  • Send custom notifications to the client
  • Display OS related informations
  • Support catch-all route

Setup

  • This project enforces pnpm. In order to use another package manager you need to update package.json and tauri.config.js
  • Before running this app, you need to configure your environment with Rust. Take a look at the Tauri docs.
  • The frontend runs on the usual port 3000 of Nuxt, the Tauri server uses the port 3001. This settings are customizable in the nuxt.config.ts and tauri.config.js.
  • Once ready, follow these commands:
# use this template
$ npx degit NicolaSpadari/nuxtor my-nuxtor-app

# go into the folder
$ cd my-nuxtor-app

# install dependencies
$ pnpm install

# start the project
$ pnpm run tauri:dev

This will run the Nuxt frontend and will launch the Tauri window.

Build

$ pnpm run tauri:build

This command will generate the Nuxt static output and bundle the project under src-tauri/target.

Notes

  • As the documentation shows, the Nuxt SSr must be disabled in order for Tauri to act as the backend. Still, all Nuxt capabilities are still here.
  • Tauri v2 is still in beta. Some things might not work, or present some bugs.
  • Tauri v2 brings some big refactors, such as packages names and permission management. New permissions have to be granted under src-tauri/capabilities/main.json
  • Tauri js functions are auto imported as-is with the help of a custom module. If another Tauri plugin is added, then the module has to be updated to support auto imports under src/modules/tauri.ts

License

MIT License © 2024-PRESENT NicolaSpadari

Description
No description provided
Readme MIT 6.7 MiB
Languages
Vue 65.6%
TypeScript 28.3%
Rust 2.4%
JavaScript 2.1%
CSS 1.6%