Singular Stack Style Monorepo

Cam White
Cam White
Dec 12, 2018 · 5 min read
Generated By Cam White

Introduction

Isomorphic — Having identical relevant structure; being structure-preserving while undergoing certain invertible transformations.

The Construct

mkdir the-one && cd $_yarn init -ygit init
Example file tree
yarn add global @vue/clivue create frontendcd frontendvue add cordovavue add @vue/pwavue add @uvue/ssr

Initializing Vue and installing the CLI plugins
# serve the browser bundle in ssr modeyarn workspace frontend run ssr:serve# serve the android bundle to a simulator or deviceyarn workspace frontend run cordova-serve-android# serve the ios bundle to a simulator or deviceyarn workspace frontend run cordova-serve-ios

The Configuration

Config — the options given to us by the greater creators; passed down like heirlooms through the generations.


UVue core plugins
UVue server plugins

That’s it for this post, but if there is interest I can expand with backend, environment and deployment stories in a part two.

Starring

vue + node

With Appearances By

About the Author

Cam White

Written by

Cam White

Autodidact developer and VIM user https://codeandcamlabs.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade