Skip to content

siuxco/siux-studio-tauri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIUX Studio + Tauri integration

This is a boilerplate integration of SIUX Studio and Tauri

Getting started

Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
Run the development server
npm i && npm run tauri dev
Preview your application in browser
http://localhost:3000

Installation

Integrate your brand styles by replacing the following lines of code on pages/_app.js with your brand settings.
<link href="https://cdn.siux.studio/static/brand/632213d5a467b1178b31dde0/latest/siux.main.css" type="text/css" rel="stylesheet">
<link href="https://cdn.siux.studio/static/brand/632213d5a467b1178b31dde0/latest/siux.main.responsive.css" type="text/css" rel="stylesheet">

Development

Edit the page by modifying pages/index.js. The page auto-updates as you edit the file. The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Build binaries

npm run tauri build

API Routes

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages. This endpoint can be edited in pages/api/hello.js.

http://localhost:3000/api/hello