Skip to content

Instantly share code, notes, and snippets.

@ItFlyingStart
ItFlyingStart / App.js
Created March 23, 2022 07:12
Starter App.js template for a Modern desktop app made using Tauri & ReactJS. This template is defacto until https://sveltematerialui.com/ gets better.
import './App.css';
import { AppShell, Navbar, Header, Text, MediaQuery, Burger, ActionIcon, Group } from '@mantine/core';
import { MantineProvider } from '@mantine/core';
import { SunIcon, MoonIcon } from '@modulz/radix-icons';
import { useState, useEffect } from 'react';
import { createStyles, useMantineTheme } from '@mantine/styles';
import { MemoryRouter, NavLink, Route, Routes } from "react-router-dom";
import localforage from 'localforage';
import { invoke } from '@tauri-apps/api/tauri'