[feature suggestion]: Build for Web and Mobile

未關閉
#40 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
20/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
angular, typescript

研究方向

先追蹤外掛程式的 nx serve 進入點,以及它目前如何呼叫 tns。定義為一般 Web 應用程式與 NativeScript 應用程式提供服務,以及產生成對的 .tns 與 Web 檔案的範圍,然後使用適當的測試驗證已議定的行為。

由索引模型根據 Issue 內容生成。

描述

Currently the plugin is aimed towards mobile only. Its nx serve command is running tns.

This doesn't support architectures like this code sharing.

I know that NS is not just for angular, but this might be super useful in case one chooses an angular NS project.

One idea would be to enable several such features:

  1. Allow to serve regular apps vs NS (e.g. via a flag)
  2. Allow to create duplicate modules/components/etc. files (both .tns and web) like suggested in the article

I haven't made the attempt to make the separation but there should be more features involved in this Epic.

主要語言
TypeScript
星號
68
分支
15
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NativeScript/nx 的其他 Issue

查看 NativeScript/nx 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。