Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
88bc981
Merge commit 'f2e622f938feeb4fbc27d36d8a73ae817584a0ce'
rdlabo Aug 12, 2022
cb723c3
chore
rdlabo Aug 12, 2022
c06ef0e
translate(): datetime-buttonを翻訳
rdlabo Aug 12, 2022
bc629bc
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Sep 1, 2022
b78ad5d
Merge commit '9f35d7834766666e360bd30e88506a7c3d0700bd'
rdlabo Sep 1, 2022
b3084e8
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Sep 17, 2022
64ffecf
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Oct 26, 2022
7e43d3c
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Nov 16, 2022
2f54d6f
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Nov 18, 2022
0cf18e1
fix typo
r-yanyo Jan 7, 2023
6c9097f
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 12, 2023
a44bce6
chore(): 翻訳ミスを修正
rdlabo Mar 12, 2023
7cb9826
updated
rdlabo Mar 12, 2023
96677eb
Merge branch 'translation/jp' of github.com:ionic-team/ionic-docs int…
rdlabo Mar 12, 2023
5085791
build
rdlabo Mar 12, 2023
bc7a829
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 21, 2023
6857ca5
feat(translate): update translate
rdlabo Mar 21, 2023
51dc415
feat(translate): add auto translation by DeepL
rdlabo Mar 21, 2023
ab86fa0
Merge branch 'main' into translation/jp
rdlabo Mar 21, 2023
1a26561
feat(translate): h2 is translated
rdlabo Mar 21, 2023
c252eda
feat(v7): translate api
rdlabo Mar 21, 2023
4f1de32
Merge pull request #59 from r-yanyo/main
rdlabo Mar 21, 2023
929c03d
Merge branch 'feat/v7' into translation/jp-v7
rdlabo Mar 21, 2023
ba30df7
feat(translate): translate api
rdlabo Mar 21, 2023
bcdb4e0
feat(translate): translate api
rdlabo Mar 21, 2023
986abad
fix(api): fixed spelling
rdlabo Mar 21, 2023
b173411
Merge branch 'feat/v7' of github.com:ionic-jp/ionic-docs into feat/v7
rdlabo Mar 21, 2023
ed4d367
feat(translation): partial retranslation
rdlabo Mar 21, 2023
527908e
chore(): remove unused file
rdlabo Mar 21, 2023
079ca83
fix(translate): proofread the translation of DeepL
rdlabo Mar 22, 2023
acb85c2
chore(translate): run translate
rdlabo Mar 22, 2023
6d3bae1
feat(translate): translate searchbar
rdlabo Mar 22, 2023
58576e7
feat(translate): fix deepl translation
rdlabo Mar 22, 2023
b7053ff
fix(translate): translate docs/index
rdlabo Mar 22, 2023
0f29fb0
Merge commit '407f6697f8d56598ab081d99c5dbfd4bd1c3250c' into feat/v7
rdlabo Mar 24, 2023
85bafc3
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v7
rdlabo Mar 25, 2023
b1d17d7
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v7
rdlabo Mar 28, 2023
a8df44b
feat(translate): remove '自動翻訳' from cache data
rdlabo Mar 28, 2023
ca8256c
Merge commit 'f468d1a5bc902ea8e947f307b7c5e0bbfbae9133' into feat/v7
rdlabo Mar 28, 2023
b47bf2a
Merge commit 'b81426e5378cad5a51ac2e2598b6681842322417' into feat/v7
rdlabo Mar 29, 2023
bcee83a
chore(): remove unused auto translated
rdlabo Mar 29, 2023
4e765f4
Merge pull request #60 from ionic-jp/feat/v7
rdlabo Mar 29, 2023
9bf4533
feat(translate): translate api
rdlabo Mar 31, 2023
78a9870
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 6, 2023
0d070be
fix(path): fix language path
rdlabo Apr 6, 2023
94d998e
fix(lang): default path change to be en(if Japanese
rdlabo Apr 6, 2023
91a7d91
feat(api): update api translate
rdlabo Apr 6, 2023
327ce7d
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 24, 2023
484dcce
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jul 19, 2023
a86d8ae
fix(): fix conflict package.json
rdlabo Jul 19, 2023
6abe84b
chore(): fixed lint
rdlabo Jul 19, 2023
d6a3256
fix(ci): fix lint and diff
rdlabo Jul 19, 2023
d4f47d9
fix(script): follow new docs script
rdlabo Jul 20, 2023
e95ddf7
translate
rdlabo Jul 20, 2023
3ec07a7
chore
rdlabo Jul 20, 2023
80134d9
chore(): fix confrect
rdlabo Jul 20, 2023
7e04aef
fmt
rdlabo Jul 20, 2023
7476dbe
fix(): remove i18n folder from git
rdlabo Jul 20, 2023
3e68cbc
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Aug 13, 2023
2479291
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Aug 24, 2023
1ca12d1
fix(docs): fix merge mistake
rdlabo Aug 24, 2023
9cdbac8
translate(core): create translate file
rdlabo Aug 24, 2023
8bbe61d
fmt
rdlabo Aug 24, 2023
b217c9b
translate(docs): translated
rdlabo Aug 24, 2023
e899a52
fmt
rdlabo Aug 24, 2023
c5e359e
Merge branch 'translation/jp' of github.com:ionic-team/ionic-docs
rdlabo Aug 31, 2023
cfbe8ba
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Oct 6, 2023
2f5fc80
fix typo
rdlabo Oct 6, 2023
7b19aff
chore
rdlabo Oct 6, 2023
645ddb7
chore
rdlabo Oct 6, 2023
43beb07
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Oct 13, 2023
c7f3480
Merge branch 'translation/jp'
rdlabo Oct 13, 2023
7c4406e
chore: remove unused file
rdlabo Oct 13, 2023
3faa67b
fix(): fix cspell check
rdlabo Oct 13, 2023
9a9e01d
translate
rdlabo Oct 13, 2023
ec5b6b5
chore
rdlabo Oct 13, 2023
5d1c392
chore: run lint
rdlabo Oct 13, 2023
0180170
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Oct 30, 2023
4b51c53
feat(api): get current readme
rdlabo Oct 30, 2023
76a2ed8
translate
rdlabo Oct 30, 2023
38c9474
fix(lint): ignore src/translate
rdlabo Oct 30, 2023
10477c2
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Nov 29, 2023
ea98261
chore
rdlabo Nov 29, 2023
e046283
translate
rdlabo Nov 29, 2023
11da5da
chore
rdlabo Nov 29, 2023
c25bc41
Merge branch 'translation/jp'
rdlabo Nov 29, 2023
c968351
fix(): copy package.json from repository
rdlabo Nov 30, 2023
73510e8
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Nov 30, 2023
24f7887
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Dec 1, 2023
9c59ff6
Merge commit '00b4aace95d63c3ba572a02c45605be981f227e0'
rdlabo Dec 1, 2023
74e9852
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Dec 20, 2023
9b895a5
chore
rdlabo Dec 20, 2023
4767eb1
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jan 4, 2024
81307da
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Feb 11, 2024
d7a3cc0
Merge branch 'main' into translation/jp
rdlabo Feb 11, 2024
2e4ef5f
chore: npm install
rdlabo Feb 11, 2024
28b6d89
fmt
rdlabo Feb 11, 2024
f83f22e
chore(): remove duplication package
rdlabo Feb 11, 2024
4a17528
translate
rdlabo Feb 11, 2024
9c7f5a5
fix(): follow ionicframework.com
rdlabo Feb 11, 2024
b9053c2
chore(ci): update node version
rdlabo Feb 11, 2024
ba82aa7
fix(): comment-out unused script
rdlabo Feb 11, 2024
74d0120
chore(): follow package-lock.json
rdlabo Feb 11, 2024
8d24a0b
fix(): npm install at root
rdlabo Feb 11, 2024
9d9af2f
translate(): shallow doc is translated
rdlabo Feb 12, 2024
7962e28
chore
rdlabo Feb 12, 2024
128ae4d
fmt
rdlabo Feb 12, 2024
9bfc808
chore
rdlabo Feb 12, 2024
b27a1ee
chore
rdlabo Feb 12, 2024
b42a34b
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 31, 2024
86966cb
translate
rdlabo Mar 31, 2024
d2f876e
feat(): set tag `next` at ionic/core
rdlabo Mar 31, 2024
356adeb
Merge branch 'translation/jp' of github.com:ionic-team/ionic-docs
rdlabo Mar 31, 2024
ea4938c
translate(): update 8.0
rdlabo Mar 31, 2024
2356410
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v8
rdlabo Apr 5, 2024
0402a38
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v8
rdlabo Apr 16, 2024
6f012dc
Merge branch 'main' of github.com:ionic-team/ionic-docs into feat/v8
rdlabo Apr 17, 2024
d734a9f
fix(): remove overwrite files
rdlabo Apr 17, 2024
121fc00
fmt
rdlabo Apr 17, 2024
a84cd86
default docs to v8
liamdebeasi Apr 17, 2024
df57f7d
freeze ionic 6 docs
liamdebeasi Apr 17, 2024
796a14f
update package.json files
liamdebeasi Apr 17, 2024
14b8aec
update playground iframes
liamdebeasi Apr 17, 2024
d4f1252
typo
liamdebeasi Apr 17, 2024
697f04c
point to main branch
liamdebeasi Apr 17, 2024
8fa98bb
update package lock
liamdebeasi Apr 17, 2024
c5b863f
fix: update cta to v8 upgrade guide
sean-perkins Apr 17, 2024
2f008e6
Merge commit 'c5b863ff0b2b6aaf6fe12f16c2fdceaed00da809'
rdlabo Apr 17, 2024
498422e
translate
rdlabo Apr 17, 2024
93a38c0
chore: replace diff examples with before/after
sean-perkins Apr 17, 2024
ee955c5
Merge commit '93a38c0f5b9c9f180b308ff49b57ea722c65a4c6'
rdlabo Apr 17, 2024
6a5d265
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 17, 2024
643f0a6
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 23, 2024
9b6487c
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 30, 2024
41e0a06
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo May 6, 2024
177ef42
Merge branch 'translation/jp' of github.com:ionic-team/ionic-docs
rdlabo May 6, 2024
d663d73
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jul 30, 2024
7f91361
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Nov 24, 2024
a92254b
feat(api): remove @next from @ionic/docs
rdlabo Nov 24, 2024
02ad5a2
fmt
rdlabo Nov 24, 2024
a7e550b
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jan 16, 2025
9ab7036
chore
rdlabo Jan 16, 2025
66df4a5
chore
rdlabo Jan 16, 2025
2174d6e
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jan 29, 2025
94c53f5
Merge commit 'c7f8eebf5670bc3a31ba4d5b7f6b508399190b16'
rdlabo Feb 5, 2025
da94fee
Fix typo
karur4n Feb 14, 2025
b154121
Merge pull request #62 from karur4n/patch-1
rdlabo Feb 16, 2025
74c35da
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Mar 16, 2025
b65cf6d
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Apr 10, 2025
ffb978c
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Jun 7, 2025
f1a723f
translate(): ion-input-otp
rdlabo Jun 7, 2025
9ee9b5e
fix(): fix lint and spellcheck
rdlabo Jun 7, 2025
d6053a2
chore(): change package-lock.json from https://github.com/ionic-team/…
rdlabo Jun 7, 2025
e73796c
chore(): update package-lock.json
rdlabo Jun 7, 2025
e747242
feat: npm run translate:create
rdlabo Jun 7, 2025
2670cfb
fix(): fix translate script of deepl
rdlabo Jun 7, 2025
94f0506
chore: temporary commit to fix build
rdlabo Jun 7, 2025
d34ef15
docs(guide): update framework overview files for consistency
brandyscarney Jul 22, 2025
a8addf3
chore(vercel): add redirects for framework slugs to their overview
brandyscarney Jul 22, 2025
aa8c2e6
fix(icons): update components icon
brandyscarney Jul 22, 2025
05f6530
docs(guide): update versioned overviews for angular and vue
brandyscarney Jul 23, 2025
7535b26
docs(guide): update versioned overviews for react
brandyscarney Jul 23, 2025
77b5d19
docs(guide): update quickstart image with updated starters view
brandyscarney Jul 23, 2025
21647a4
docs(guide): update overview to cd into app
brandyscarney Jul 24, 2025
6075642
chore(vercel): add redirects for overview for v6 and v7
brandyscarney Jul 24, 2025
8106cb5
Merge branch 'main' into bc/docs-overview-updates
brandyscarney Jul 24, 2025
a116ade
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Aug 3, 2025
60f4138
fmt
rdlabo Aug 3, 2025
db7c8e5
fix(): remove google-tag-manager, should not track domains that are f…
rdlabo Aug 3, 2025
bb33994
docs(angular): add quickstart guide and update overview
brandyscarney Aug 5, 2025
0150e53
docs(vue): update overview
brandyscarney Aug 5, 2025
2c05210
docs(react): update overview
brandyscarney Aug 5, 2025
3ee3711
docs(angular): update quickstart
brandyscarney Aug 5, 2025
0bdb14c
docs(react): update quickstart
brandyscarney Aug 5, 2025
55c0570
docs(vue): update quickstart
brandyscarney Aug 6, 2025
730a12a
docs(vue): quickstart updates
brandyscarney Aug 6, 2025
c5b06a4
style: lint
brandyscarney Aug 6, 2025
4aab3bf
docs(guide): syntax and title updates
brandyscarney Aug 7, 2025
4f9b716
docs(vue): add build options from quickstart
brandyscarney Aug 7, 2025
cb1c831
docs(quickstart): add Call Component Methods section and update paths
brandyscarney Aug 7, 2025
2881413
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Sep 10, 2025
44a8efc
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Sep 26, 2025
2700b97
Merge branch 'bc/docs-overview-updates' of github.com:ionic-team/ioni…
rdlabo Sep 26, 2025
047e987
chore(ci): netlify-cli version
rdlabo Sep 26, 2025
fbf3d28
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Oct 7, 2025
147c3cb
chore: create translated file
rdlabo Oct 7, 2025
78bf2b7
chore
rdlabo Oct 7, 2025
f00adbd
feat(): update translate script
rdlabo Oct 7, 2025
b9a9bdd
translate
rdlabo Oct 7, 2025
ac3b272
chore
rdlabo Oct 7, 2025
34b943c
fmr
rdlabo Oct 7, 2025
5c0f910
chore
rdlabo Oct 7, 2025
fbe8a2b
Merge commit '1572e25fc93979e84784df1ae026e70be185b77a'
rdlabo Nov 21, 2025
9a119cd
translate(ja): translate about framework
rdlabo Nov 22, 2025
e3752f2
translate(ja): translate about developing
rdlabo Nov 22, 2025
10d9a38
translate(jp): translate about layout
rdlabo Nov 22, 2025
e18feb6
translate(ja): translate about intro
rdlabo Nov 22, 2025
b484a9d
translate(ja): translate about theming
rdlabo Nov 22, 2025
93f2987
translate(ja): translate about utilities
rdlabo Nov 22, 2025
bc9d8c6
translate(ja): translate about deployment
rdlabo Nov 22, 2025
c668eb1
translate(ja): translate about techniquies
rdlabo Nov 22, 2025
4cc2273
translate(ja): translate about core-concepts
rdlabo Nov 22, 2025
f38ecef
chore(ja): translate components
rdlabo Nov 22, 2025
ce3d912
fmt
rdlabo Nov 22, 2025
9bd270b
Merge commit '45af374800934215c5b5f43d699e0d0913c834f5'
rdlabo Nov 25, 2025
88cbac2
Merge commit '64235513744b724dc39adb3b67f6a36c9c8179f0'
rdlabo Nov 25, 2025
31911d0
chore(): keep the components file in the previous format. This change…
rdlabo Nov 25, 2025
ce29bff
chore
rdlabo Nov 25, 2025
ab0df5b
Merge commit '005d32eb4464ba00c5d578874b12cdea601626d6'
rdlabo Mar 8, 2026
892671b
chore: add cspell-wordlist.txt
rdlabo Mar 8, 2026
dc4a1d9
chore(): merge current dynamic-font-scaling
rdlabo Mar 10, 2026
d623d36
Merge commit '12d2c6dcffd55a6c5242dab9c9c82c425c65d82c'
rdlabo Apr 7, 2026
c7bbb10
chore: set "private": false in package.json
rdlabo Jun 18, 2026
0ea7cf1
Merge pull request #63 from ionic-jp/chore/set-private-field
rdlabo Jun 18, 2026
01f9ec7
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Aug 13, 2026
669b621
translation(ja): update translations
rdlabo Aug 13, 2026
3d084da
fix(ci): restore docs deployment build
rdlabo Aug 14, 2026
2b528ed
fix(i18n): correct deployment sidebar label
rdlabo Aug 14, 2026
e2571a5
fix(ci): ignore translation sources in spellcheck
rdlabo Aug 14, 2026
6fb2085
fix(ci): remove trailing whitespace
rdlabo Aug 14, 2026
d31db07
Merge branch 'main' of github.com:ionic-team/ionic-docs
rdlabo Aug 20, 2026
366f512
fix(ci): prevent translated docs formatting drift
rdlabo Aug 20, 2026
0e9f7c7
docs(jp): translate Ionic 9 update guide
rdlabo Aug 20, 2026
79c80d3
Merge upstream/main into main and reconcile Japanese translations
rdlabo Dec 1, 2026
53538ce
docs(jp): translate page descriptions
rdlabo Dec 1, 2026
8bdceba
docs(jp): align translated guides with upstream documentation
rdlabo Dec 1, 2026
3936ef4
fix(jp): preserve API translations and React 19 compatibility
rdlabo Dec 1, 2026
8072325
fix(docs): remove obsolete pages absent from upstream
rdlabo Dec 1, 2026
4cb3963
fix(ci): update Netlify CLI for npm 11 compatibility
rdlabo Dec 1, 2026
3d4e9d1
Merge branch 'main' into translation/jp-20261201
rdlabo Dec 1, 2026
18e52cf
fix(docs): align Japanese formatting with upstream CI
rdlabo Dec 1, 2026
d442d88
Merge main formatting fixes into translation/jp-20261201
rdlabo Dec 1, 2026
369bc60
docs(ja): align translations and technical terminology with upstream
rdlabo Dec 1, 2026
57d9c0b
docs(ja): correct translations and preserve upstream terminology
rdlabo Dec 1, 2026
dd62128
docs(ja): correct technical explanations and link labels
rdlabo Dec 1, 2026
e30c65f
Merge translation/jp into translation/jp-20261201
thetaPC Dec 1, 2026
5fe19b7
Merge branch 'main' into translation/jp-20261201
rdlabo Dec 2, 2026
bccc51e
Merge branch 'translation/jp-20261201' of github.com:ionic-team/ionic…
rdlabo Dec 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
196 changes: 98 additions & 98 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Docs folder

The `/docs` folder houses all markdown files. The page structure loosely maps to the routing on the site since paths can be changed in the frontmatter.
`/docs` フォルダーにはすべての Markdown ファイルがあります。frontmatter でパスを変更できるため、ページの構成はサイトのルーティングにおおむね対応しています。

## Versioning

This folder can also contain components, assets, and whatever else is meant to be versioned when the docusaurus versioning script is run. For example, if there is a page component that is only relevant to the `layout` section in the current version of Ionic, it could be added to a `_components/` folder in `docs/layout/`. When the versioning script is run, the component will be copied to `versioned_docs/version-{X}/layout/_components/` and there will now be a separate component in `docs/layout/_components/` that can be deleted or updated to the latest version. The same concept applies to images and other files.
このフォルダには、コンポーネントやアセット、その他、Docusaurus のバージョン管理スクリプトが実行される際にバージョン管理されるべきものが含まれています。例えば、Ionic の現在のバージョンにおいて、`layout`セクションに関連するページコンポーネントがある場合、そのコンポーネントは`docs/layout/`ディレクトリ内の`_components/`フォルダに追加されることがあります。バージョン管理スクリプトが実行されると、そのコンポーネントは`versioned_docs/version-{X}/layout/_components/`にコピーされます。そうすると、`docs/layout/_components/`には、新しいバージョンに更新したり、削除したりできる別のコンポーネントが存在するようになります。この概念は、画像やその他のファイルにも同様に適用されます。

If components are meant to be shared across versions, they can be put in `src/components/`. If images and other served files are meant to be shared across versions they can be put in `static/`.
もし、コンポーネントが異なるバージョン間で共有される必要がある場合は、`src/components/`に配置します。また、画像やその他のファイルが異なるバージョン間で共有される必要がある場合は、`static/`に配置します。

## Auto Generated Files

All markdown files in these directories are generated from [scripts](/scripts):
これらのディレクトリ内にあるすべての markdown ファイルは、[スクリプト](/scripts)から生成されています。

- `docs/api/`
- `docs/cli/commands/`
Expand Down
62 changes: 31 additions & 31 deletions docs/angular/add-to-existing.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Add to Existing Angular Project
description: 'Learn how to add Ionic Angular to your existing Angular project. Step-by-step guide for integrating Ionic components and features into an existing Angular application.'
description: '既存の Angular プロジェクトに Ionic Angular を追加し、Ionic のコンポーネントと機能を組み込む手順を説明します。'
sidebar_label: Add to Existing
---

Expand All @@ -11,37 +11,37 @@ import DocsCards from '@components/global/DocsCards';
<title>Add Ionic Angular to Existing Project: Integration Guide</title>
</head>

This guide covers how to add Ionic Angular to an existing Angular project. If you're looking to start a new project from scratch, check out the [Ionic Angular Quickstart](./quickstart.mdx) guide. For an overview of how Ionic Angular works with Angular, including version support and tooling, check out the [Ionic Angular Overview](./overview.mdx).
このガイドでは、既存の Angular プロジェクトに Ionic Angular を追加する方法について説明しています。もし、ゼロから新しいプロジェクトを始めたい場合は、[Ionic Angular クイックスタートガイド](./quickstart.mdx)をご覧ください。Ionic Angular が Angular とどのように連携しているか、また、バージョンサポートやツールについては、[Ionic Angular の概要](./overview.mdx)をご覧ください。

:::tip

This guide uses `.css` file extensions for stylesheets. If you created your Angular app with a different stylesheet format (such as `.scss`, `.sass`, or `.less`), use that extension instead.
このガイドでは、スタイルシートは`.css`という拡張子を使用しています。もし、別のスタイルシート形式(例えば`.scss`、`.sass`、`.less`など)で Angular アプリを作成した場合は、その拡張子を使用してください。

:::

## Setup {/* #setup */}

:::info

This guide follows the structure of an Angular app created with the Angular CLI. If you started your Angular app using a different method, your file structure and setup may differ.
このガイドは、Angular CLI を使って作成されたアプリケーションの構造に沿っています。もし、別の方法で Angular アプリを作成した場合、ファイルの構造や設定は異なるかもしれません。

:::

You can add Ionic Angular to your existing Angular project using the Angular CLI's `ng add` feature or by installing it manually.
Ionic Angular を、既存の Angular プロジェクトに追加するには、Angular CLI の`ng add`機能を使うか、手動でインストールすることができます。

### Using ng add {/* #using-ng-add */}

The easiest way to add Ionic Angular is to use the Angular CLI's `ng add` feature:
Ionic Angular を追加する最も簡単な方法は、Angular CLI の`ng add`機能を使うことです。

```bash
ng add @ionic/angular
```

This will install the `@ionic/angular` package and automatically configure the necessary imports and styles.
これにより、`@ionic/angular`パッケージがインストールされ、必要なインポートやスタイルシートも自動的に設定されます。

### Manual Installation {/* #manual-installation */}

If you prefer to install Ionic Angular manually, you can follow these steps:
もし、Ionic Angular を手動でインストールしたい場合は、以下の手順に従ってください。

#### 1. Install the Package {/* #1-install-the-package */}

Expand All @@ -51,7 +51,7 @@ npm install @ionic/angular

#### 2. Add Ionic Framework Stylesheets {/* #2-add-ionic-framework-stylesheets */}

Replace the existing `styles` array in `angular.json` with the following:
`angular.json`ファイル内の既存の`styles`配列を、以下の内容で置き換えてください。

```json title="angular.json"
"styles": [
Expand All @@ -73,7 +73,7 @@ Replace the existing `styles` array in `angular.json` with the following:

:::info

While `core.css` is required, `normalize.css`, `structure.css`, and `typography.css` are recommended but not required. They normalize cross-browser differences, ensure proper scrolling behavior, and provide consistent typography and form styling. Without them, you may need to handle these concerns yourself. For more details, refer to [Global Stylesheets](../layout/global-stylesheets.mdx).
`core.css` は必須です。`normalize.css`、`structure.css`、`typography.css` は任意ですが、利用を推奨します。ブラウザーごとの表示の違いを整え、スクロール動作を保ち、文字やフォームのスタイルを統一します。これらを読み込まない場合は、自分で対応が必要になることがあります。詳細は [Global Stylesheets](../layout/global-stylesheets.mdx) を参照してください。

:::

Expand All @@ -93,19 +93,19 @@ export const appConfig: ApplicationConfig = {
};
```

This reflects the Angular 21 and 22 scaffold, which is zoneless by default. If your existing app is on Angular 18 through 20, it still has `provideZoneChangeDetection({ eventCoalescing: true })`; keep that provider and add `provideIonicAngular({})` alongside it. Refer to [Zoneless Change Detection](./zoneless.mdx) for details.
これは、デフォルトで zoneless の Angular 21・22 のプロジェクト構成に対応しています。既存のアプリが Angular 18〜20 の場合は、`provideZoneChangeDetection({ eventCoalescing: true })` の provider を残し、その隣に `provideIonicAngular({})` を追加してください。詳細は [Zoneless Change Detection](./zoneless.mdx) を参照してください。

## Using Individual Components {/* #using-individual-components */}

After completing the setup above, you can start using Ionic components in your existing Angular app. Here's an example of how to use them:
上記の設定を完了した後、既存の Angular アプリで Ionic コンポーネントを使用し始めることができます。以下は、Ionic コンポーネントを使用する方法の例です。

Update `src/app/app.html` to the following:
`src/app/app.html`を以下のように更新してください。

```html title="src/app/app.html"
<ion-button>Button</ion-button> <ion-datetime></ion-datetime>
```

Then, import the components in `src/app/app.ts`:
次に、`src/app/app.ts`ファイル内に、必要なコンポーネントをインポートします。

```ts title="src/app/app.ts"
import { Component } from '@angular/core';
Expand All @@ -120,15 +120,15 @@ import { IonButton, IonDatetime } from '@ionic/angular';
export class App {}
```

Visit the [components](../components.mdx) page for all of the available Ionic components.
利用可能なすべての Ionic コンポーネントについては、[コンポーネント](../components.mdx)ページをご覧ください。

## Using Ionic Pages {/* #using-ionic-pages */}

If you want to use Ionic pages with full navigation and page transitions, follow these additional setup steps.
もし、Ionic ページを使い、完全なナビゲーション機能やページ間の遷移機能を利用したい場合は、以下の手順に従って設定を行ってください。

#### 1. Add Additional Ionic Framework Stylesheets {/* #1-add-additional-ionic-framework-stylesheets */}

Replace the existing `styles` array in `angular.json` with the following:
`angular.json`ファイル内の既存の`styles`配列を、以下の内容で置き換えてください。

```json title="angular.json"
"styles": [
Expand Down Expand Up @@ -169,11 +169,11 @@ Replace the existing `styles` array in `angular.json` with the following:
]
```

These stylesheets set up the overall page structure and provide [CSS utilities](../layout/css-utilities.mdx) for faster development. Some stylesheets are optional. For details on which stylesheets are required, check out [Global Stylesheets](../layout/global-stylesheets.mdx).
これらのスタイルシートは、ページの構造を定義し、より迅速な開発を可能にするための[CSS ユーティリティ](../layout/css-utilities.mdx)を提供しています。一部のスタイルシートはオプションです。どのスタイルシートが必要かについては、[グローバルスタイルシート](../layout/global-stylesheets.mdx)をご覧ください。

#### 2. Set up Theming {/* #2-set-up-theming */}

Create a `src/theme/variables.css` file with the following content:
`src/theme/variables.css`というファイルを以下の内容で作成してください:

```css title="src/theme/variables.css"
/**
Expand All @@ -188,19 +188,19 @@ Create a `src/theme/variables.css` file with the following content:
@import '@ionic/angular/css/palettes/dark.system.css';
```

This file enables [dark mode support](../theming/dark-mode.mdx) for your Ionic app when the system is set to prefer a dark appearance. You can customize the theming behavior by uncommenting different dark palette imports or adding custom CSS variables.
このファイルを使用すると、システムがダークテーマを推奨するように設定されている場合、Ionic アプリで[ダークモードのサポート](../theming/dark-mode.mdx)が利用できます。また、さまざまなダークテーマの設定をカスタマイズするためには、コメントを外すか、独自の CSS 変数を追加する必要があります。

#### 3. Update the App Component {/* #3-update-the-app-component */}

Update `src/app/app.html` to the following:
`src/app/app.html`を以下のように更新してください。

```html title="src/app/app.html"
<ion-app>
<ion-router-outlet></ion-router-outlet>
</ion-app>
```

Then, update `src/app/app.ts` to include the component imports:
次に、`src/app/app.ts`を更新し、そのコンポーネントのインポートを追加してください。

```ts title="src/app/app.ts"
import { Component } from '@angular/core';
Expand All @@ -217,7 +217,7 @@ export class App {}

#### 4. Create a Home Page {/* #4-create-a-home-page */}

Start by adding a template at `src/app/home/home.html`:
まず、`src/app/home/home.html`というファイルにテンプレートを追加してください。

```html title="src/app/home/home.html"
<ion-header translucent="true">
Expand All @@ -243,7 +243,7 @@ Start by adding a template at `src/app/home/home.html`:
</ion-content>
```

Then, create `src/app/home/home.ts` with the following:
次に、`src/app/home/home.ts`というファイルを以下の内容で作成します。

```ts title="src/app/home/home.ts"
import { Component } from '@angular/core';
Expand All @@ -258,7 +258,7 @@ import { IonContent, IonHeader, IonTitle, IonToolbar } from '@ionic/angular';
export class HomePage {}
```

Finally, add a `src/app/home/home.css` file:
最後に、`src/app/home/home.css`というファイルを追加してください。

```css title="src/app/home/home.css"
#container {
Expand Down Expand Up @@ -292,7 +292,7 @@ Finally, add a `src/app/home/home.css` file:

#### 5. Set up Routing {/* #5-set-up-routing */}

Update `src/app/app.routes.ts` to add a `home` route:
`src/app/app.routes.ts`を更新し、`home`ルートを追加してください。

```ts title="src/app/app.routes.ts"
import { Routes } from '@angular/router';
Expand All @@ -311,28 +311,28 @@ export const routes: Routes = [
];
```

You're all set! Your Ionic Angular app is now configured with full Ionic page support. Run `ng serve` to start your development server and view your app.
すべての準備が整いました!これで、あなたの Ionic Angular アプリは、完全な Ionic ページ機能をサポートするように設定されました。`ng serve`を実行して、開発サーバーを起動し、アプリを確認してください。

## Next Steps {/* #next-steps */}

Now that you have Ionic Angular integrated into your project, check out:
もう、Ionic Angular をプロジェクトに統合したので、以下の点を確認してください:

<DocsCards>

<DocsCard header="Navigation" href="/angular/navigation" icon="/icons/component-navigation-icon.png">
<p>Discover how to handle routing and navigation in Ionic Angular apps using the Angular Router.</p>
<p>Angular Router を使って Ionic Angular アプリでルーティングとナビゲーションを扱う方法を学びます。</p>
</DocsCard>

<DocsCard header="Components" href="/components" icon="/icons/guide-components-icon.png">
<p>Explore Ionic's rich library of UI components for building beautiful apps.</p>
</DocsCard>

<DocsCard header="Theming" href="/theming/basics" icon="/icons/guide-theming-icon.png">
<p>Learn how to customize the look and feel of your app with Ionic's powerful theming system.</p>
<p>Ionic のテーマ設定を使ってアプリの外観や操作感をカスタマイズする方法を学びます。</p>
</DocsCard>

<DocsCard header="Capacitor Documentation" href="https://capacitorjs.com/docs/" icon="/icons/guide-capacitor-icon.png">
<p>Explore how to access native device features and deploy your app to iOS, Android, and the web with Capacitor.</p>
<p>Capacitor で端末機能を使い、iOS、Android、Web にデプロイする方法を学びます。</p>
</DocsCard>

</DocsCards>
Loading
Loading