Comments (10)
Yeah I'll write something up tonight as a basic example.
from hello-vue-components.
I would like to see that too :)
from hello-vue-components.
@angeliski have you done anything in regards to it? I'm still trying to crack it!
from hello-vue-components.
Hi @EvanBurbidge I don't tried, but maybe you should not expose the full application.
You can segregate your packages to export the routes config and use I main entry point like a orchestation .
Or you can use a SPA manager like: https://github.com/CanopyTax/single-spa
from hello-vue-components.
I might give that a shot. Need to keep trying this a little bit first though. Our BE wouldn't be setup to handle that.
Thanks for the tip @angeliski
from hello-vue-components.
@EvanBurbidge Would you be able to make an example repository available for me to take a look at? Maybe I can suggest some other approach.
from hello-vue-components.
@angeliski https://github.com/EvanBurbidge/mono-repo-tester/ there ya go, its simply build app2 as a lib and install into app1, but with lazy loaded routes in app2
from hello-vue-components.
Sorry for the delayed reply. I apparently wasn't watching this repo, so never saw notifications about issues/PRs. 😅 I think exporting an application is a different enough use case that it's beyond the scope of this project. However, feel free to keep discussing the problem here. 🙂
from hello-vue-components.
Hey @chrisvfritz no problem! @angeliski the approach i've ended up taking is to not compile the development applications, instead now I am writing projects and maintaining an internal vue cli plugin which will add all non duplicated peer deps into the "consuming applications". I'm also leveraging Lerna hoisting in order to ensure that my repo doesn't duplicate packages across the board.
from hello-vue-components.
Nice @EvanBurbidge ! You can share some code example how do you manager that?
I think will be really awesome see the orchestration working
Cheers
from hello-vue-components.
Related Issues (16)
- Passing props other than string HOT 1
- Typescript & Vue property decorator support HOT 1
- Lint "meta" custom block HOT 1
- Script inside SFC results in 'component is not defined' error for UMD. HOT 2
- Can't find components when building
- Library versioning
- [feature-request] Example setup for Vuepress documentation HOT 1
- Library exporting globally as 'index'
- extractCss false not working with SSR // server side rendered code not matching client side
- "yarn dev" fails because it wants components to be installed as dependencies HOT 1
- Add a HOT 1
- Add a "docs
- [feature] Add a "docs" section within the SFC files? HOT 2
- [feature] "Moderate" build process? HOT 1
- Example for SSR use? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hello-vue-components.