From caf51d18bd61a510c30140593a330954525afff9 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 4 Dec 2024 10:34:40 -0800 Subject: [PATCH] Add a page for Desktop and Mobile development support --- astro.config.mjs | 4 ++++ src/content/docs/start/desktop-mobile.mdx | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/content/docs/start/desktop-mobile.mdx diff --git a/astro.config.mjs b/astro.config.mjs index 261cb2ae04..3dbeecccef 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -162,6 +162,10 @@ export default defineConfig({ }, link: '/start/', }, + { + label: 'Desktop and Mobile', + link: '/start/desktop-mobile/', + }, { label: 'Prerequisites', translations: { diff --git a/src/content/docs/start/desktop-mobile.mdx b/src/content/docs/start/desktop-mobile.mdx new file mode 100644 index 0000000000..61d5f6c921 --- /dev/null +++ b/src/content/docs/start/desktop-mobile.mdx @@ -0,0 +1,12 @@ +--- +title: Desktop and Mobile +i18nReady: true +sidebar: + order: 1 +--- + +Tauri supports developing both desktop and mobile apps. Most aspects of developing an app for Tauri remain the same regardless of the platforms you target. + +## Platform-specific differences + +As you follow along in the guide, we will point out locations where usage may differ. E.g. there is some [mobile-specific setup](https://v2.tauri.app/start/prerequisites/#configure-for-mobile-targets), you will run different commands to run your application when you [develop for mobile vs desktop](https://v2.tauri.app/develop/), and of course these applications will be [distributed in different ways](https://v2.tauri.app/distribute/). Finally, note that [many plugins are supported for specific platforms](https://v2.tauri.app/plugin/#support-table).