NativeScript / NativeScript/nx

[Question] how to share code between {N} and web apps within Nx workspace

Open
#18 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
TypeScript
Stars
68
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I noticed --shared option is not available.
Is it something coming down the pipeline or is it better to look at other solutions?

I guess one way is extend original .ts files, but it doesn't look too clean as it could've been done with .tns. files.

Do you have other suggestion on how to use nativescript web & mobile in NX besides xplat?

Thank you,
Sergei.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing the Nx workspace integration and existing NativeScript web and mobile sharing guidance, then determine whether the missing --shared option is intended to be implemented or documented as an alternative; done requires a clearly agreed scope and acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev, tooling, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.