NativeScript / NativeScript/nx
How to make a shared Angular Web + NativeScript Angular Mobile app?
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 68
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
What is the proper procedure to start a new nx workspace for a shared NativeScript Angular Mobile App and Angular Web App?
Right now I have a NativeScript 7 / Angular 11 shared mobile/web app that uses the .tns.ts, .tns.html, .web.ts, etc... method of code splitting, but it seems the new NativeScript 8 and @nativescript/webpack do not support that anymore. This is a substantial project and I want to upgrade to NS8 /Angular 12 so I guess I need to convert the project to work in an nx workspace using the libs folder for the shared Angular modules. But I want to make sure I set up the nx workspace properly first before taking on this massive undertaking.
So basically, can someone please outline the proper commands to start a shared mobile/web NativeScript 8 / Angular 12 project in an nx workspace?
I tried staring an Angular nx workspace project then adding NativeScript but the nx commands to run the mobile project would not work, I kept getting Unable to install dependencies.. It made a minimal nested package.json in the mobile project with, @nativescript/core, @nativescript/android, and @nativescript/ios and the rest of the dependencies in the root package.json which seems right but idk. Any help would greatly be appreciated. Thank you!!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、記載されている NativeScript 8 と Angular 12 のバージョンを使用して、報告された Nx workspace のセットアップと「Unable to install dependencies」エラーを再現します。共有モバイル/web workspace に必要なコマンドとパッケージ構成(root およびネストされたパッケージの package.json ファイルを含む)を文書化し、文書化した Nx コマンドでモバイルプロジェクトが実行されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- build-system, mobile, web-dev
- issue の種類
- ドキュメント
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100