This is a boilerplate integration of SIUX Studio and Tauri
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
npm i && npm run tauri dev
http://localhost:3000
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">
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.
npm run tauri build
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