mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 18.1.4 to 18.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular-cli/releases"><code>@angular/cli</code>'s releases</a>.</em></p> <blockquote> <h2>v18.2.0</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.2.0 (2024-08-14)</h1> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="4da922e4f4"><img src="https://img.shields.io/badge/4da922e4f-feat-blue" alt="feat - 4da922e4f" /></a></td> <td>use isolatedModules in generated project</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="24aaf1e37f"><img src="https://img.shields.io/badge/24aaf1e37-feat-blue" alt="feat - 24aaf1e37" /></a></td> <td>support import attribute based loader configuration</td> </tr> </tbody> </table> <h2>v18.2.0-rc.0</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.2.0-rc.0 (2024-08-07)</h1> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="182ecbd188"><img src="https://img.shields.io/badge/182ecbd18-fix-green" alt="fix - 182ecbd18" /></a></td> <td>allow explicitly disabling TypeScript incremental mode</td> </tr> <tr> <td><a href="34908a3fcb"><img src="https://img.shields.io/badge/34908a3fc-fix-green" alt="fix - 34908a3fc" /></a></td> <td>lazy load Node.js inspector for dev server</td> </tr> </tbody> </table> <h2>v18.2.0-next.3</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.2.0-next.3 (2024-07-31)</h1> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="636cb69324"><img src="https://img.shields.io/badge/636cb6932-fix-green" alt="fix - 636cb6932" /></a></td> <td>add CSP <code>nonce</code> attribute to script tags when inline critical CSS is disabled</td> </tr> <tr> <td><a href="7d52941a2e"><img src="https://img.shields.io/badge/7d52941a2-fix-green" alt="fix - 7d52941a2" /></a></td> <td>prevent build failures with remote CSS imports when Tailwind is configured</td> </tr> <tr> <td><a href="0466fb74a2"><img src="https://img.shields.io/badge/0466fb74a-fix-green" alt="fix - 0466fb74a" /></a></td> <td>resolve error with <code>extract-i18n</code> builder for libraries</td> </tr> </tbody> </table> <h2>v18.2.0-next.2</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.2.0-next.2 (2024-07-24)</h1> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="37a2138cb4"><img src="https://img.shields.io/badge/37a2138cb-fix-green" alt="fix - 37a2138cb" /></a></td> <td>account for HTML base HREF for dev-server externals</td> </tr> <tr> <td><a href="8ff687d036"><img src="https://img.shields.io/badge/8ff687d03-fix-green" alt="fix - 8ff687d03" /></a></td> <td>correctly detect comma in Sass URL lexer</td> </tr> <tr> <td><a href="6d6937587f"><img src="https://img.shields.io/badge/6d6937587-fix-green" alt="fix - 6d6937587" /></a></td> <td>prevent redirection loop</td> </tr> <tr> <td><a href="11a140babb"><img src="https://img.shields.io/badge/11a140bab-fix-green" alt="fix - 11a140bab" /></a></td> <td>serve HTML files directly</td> </tr> </tbody> </table> <h2>v18.2.0-next.1</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.2.0-next.1 (2024-07-17)</h1> <h3><code>@angular-devkit/build-angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="9baae6e22c"><img src="https://img.shields.io/badge/9baae6e22-fix-green" alt="fix - 9baae6e22" /></a></td> <td>skip undefined files when generating budget stats</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/angular/angular-cli/blob/main/CHANGELOG.md"><code>@angular/cli</code>'s changelog</a>.</em></p> <blockquote> <h1>18.2.0 (2024-08-14)</h1> <h3><code>@schematics/angular</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="4da922e4f4">4da922e4f</a></td> <td>feat</td> <td>use isolatedModules in generated project</td> </tr> </tbody> </table> <h3><code>@angular/build</code></h3> <table> <thead> <tr> <th>Commit</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="24aaf1e37f">24aaf1e37</a></td> <td>feat</td> <td>support import attribute based loader configuration</td> </tr> </tbody> </table> <!-- raw HTML omitted --> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ff5a0fe212"><code>ff5a0fe</code></a> release: cut the v18.2.0 release</li> <li><a href="1a876a3153"><code>1a876a3</code></a> build: update Angular versions to 18.2 stable</li> <li><a href="eb9c7fee72"><code>eb9c7fe</code></a> build: remove unnecessary excludes from tsconfig.json</li> <li><a href="0c2ca9a040"><code>0c2ca9a</code></a> build: remove Bazel typings workaround</li> <li><a href="4528be1eab"><code>4528be1</code></a> build: add missing <code>pkg_deps</code> for <code>@angular/create</code></li> <li><a href="d14c9ab0d9"><code>d14c9ab</code></a> refactor(<code>@angular-devkit/build-angular</code>): reduce custom code in browser-esbuil...</li> <li><a href="5eef87c25c"><code>5eef87c</code></a> build: update all non-major dependencies</li> <li><a href="62c040a6a3"><code>62c040a</code></a> build: update all non-major dependencies</li> <li><a href="6351c44dfc"><code>6351c44</code></a> release: cut the v18.2.0-rc.0 release</li> <li><a href="6419c2a2e2"><code>6419c2a</code></a> build: update angular</li> <li>Additional commits viewable in <a href="https://github.com/angular/angular-cli/compare/18.1.4...18.2.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
web_embedding
This directory contains examples of how to embed Flutter in web apps (without iframes):
- element_embedding_demo: Modifies the index.html of a flutter app so it is
launched in a custom
hostElement. This is the most basic embedding example. - ng-flutter: A simple Angular app (and component) that replicates the above example, but in an Angular style.
Check the README.md of each example for more details on how to run it, and the
"Points of Interest" it may contain.
Community Contributions
Members of the community have graciously ported and contributed the following examples of Flutter Web embedding into other web frameworks:
| Author | Host Framework | Code |
|---|---|---|
| @p-mazhnik | React JS | p-mazhnik/flutter-embedding cra-flutter |
| @p-mazhnik | React Native | p-mazhnik/flutter-embedding expo-flutter |
(All contributions are welcome! Please, create an issue or open a PR to let us know how you've embedded a Flutter Web app with your favorite web framework (Vue? Svelte? Ember? Aurelia? jQuery? MooTools? Prototype?), so it can be added to the table above!)