* Use production infra * Move theme out of subdirectory * Remove unused example test * Separate webnative module into init and account * Move state off of module global state * Move utils out of common directory * Organize imports consistently * Replace last remaining Toast with a Notification * Rename theme to themeStore Renaming keeps the theme store naming consistent with the other stores. * Replace uuid helper with WebCrypto randomUUID * Enfore minimum node version at >=16.9 * Refactor delegate-account and link-device routes Use component views for consistency with the other routes * Use FilesystemActivity component in Register * Remove console logs * Add extractSearchParam Generalizes extracting a search param from a URL. * Hide app name in header on mobile * Remove deviceStore We weren't using it in the app. Mobile styles are handled with tailwind utility classes. * Add social preview image * Remove navigate event from AreYouSure component The event was unused. * Replace convertUint8ToString with uint8arrays * Add initializeFilesystem Separates out app-specific resource creation from the required registration code * Allow minor webnative version upgrades * Update package-lock.json |
||
|---|---|---|
| .github | ||
| src | ||
| static | ||
| .DS_Store | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc.cjs | ||
| LICENSE | ||
| README.md | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.cjs | ||
| svelte.config.js | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| tsnode-loader.js | ||
| vite.config.ts | ||
README.md
Webnative App Template
A web app template for Webnative.
Setup
Install dependencies.
npm install
Develop
Work on the application in local development.
npm run dev
Navigate to http://localhost:5173 in your web browser.
Build
Export a static build.
npm run build
The build outputs the static site to the build directory.
Publish
NOTE: SvelteKit Single-Page Applications require redirects in order to support routing. This is not currently supported by IPFS, so the Fission Publish GitHub action is not currently supported.
The Webnative Template App demo is currently hosted on Netlify, but it should be supported on any static hosting platform (Vercel, Cloudflare Pages, etc).
In order to deploy your own Webnative application on Netlify, simply create a new Netlify site connected to your app's repository and Netlify will take care of the rest. No Netlify-specific configuration is needed.
Customize
app.html- the SEO meta tags will need to be changed.lib/app-name.ts- choose a better application name- To customize the application's Tailwind theme, change
tailwind.config.ts- link to DaisyUI customization page.