<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq" -->

---
title: Monorepo Shared Code between NativeScript + Vue Vite +...
description: This project is a setup to start with any monorepo between NS applications, vue vite (web) and vue CLI (web). To differentiate between web and native code, the...
canonical: https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Monorepo Shared Code between NativeScript + Vue Vite + Vue CLI | daily.dev
og:description: This project is a setup to start with any monorepo between NS applications, vue vite (web) and vue CLI (web). To differentiate between web and native code, the...
og:url: https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq
og:image: https://api.daily.dev/og/posts/TedgS52cq.png
og:image:alt: Monorepo Shared Code between NativeScript + Vue Vite + Vue CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Monorepo Shared Code between NativeScript + Vue Vite + Vue CLI

**[Vue.js Examples](https://daily.dev/sources/vueexamples)** · 1 min read · 0 upvotes · 0 comments

## Summary

This project is a setup to start with any monorepo between NS applications, vue vite (web) and vue CLI (web). To differentiate between web and native code, the files *.native.ts have been established and for the web they are *.web.ts . These can be found in NS webpack, vite.config.ts and vuescript.ts.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://vuejsexamples.com/monorepo-shared-code-between-nativescript-vue-vite-vue-cli/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#cli](https://daily.dev/tags/cli), [#general-programming](https://daily.dev/tags/general-programming), [#nativescript](https://daily.dev/tags/nativescript), [#vite](https://daily.dev/tags/vite), [#vuejs](https://daily.dev/tags/vuejs), [#webpack](https://daily.dev/tags/webpack)

[View this post on daily.dev](https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Monorepo Shared Code between NativeScript + Vue Vite + Vue CLI","url":"https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq"},"datePublished":"2021-09-30T16:10:46.441Z","dateModified":"2026-03-15T04:04:04.349Z","description":"This project is a setup to start with any monorepo between NS applications, vue vite (web) and vue CLI (web). To differentiate between web and native code, the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/363bae9dd7093ec9c395b0747a693c7c","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/363bae9dd7093ec9c395b0747a693c7c","isAccessibleForFree":true,"articleSection":"Vue.js Examples","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Vue.js Examples","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/64c390aa97214456be47cd91d5002a56","url":"https://daily.dev/sources/vueexamples"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/monorepo-shared-code-between-nativescript-vue-vite-vue-cli-tedgs52cq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cli,general-programming,nativescript,vite,vuejs,webpack","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Vue.js Examples","item":"https://daily.dev/sources/vueexamples"},{"@type":"ListItem","position":3,"name":"Monorepo Shared Code between NativeScript + Vue Vite + Vue CLI"}]}
```

