File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ to create a multi-variant mobile/desktop nuxt application.
77- Most of the logic is shared in base package
88- Using two sperate builds ensures that there are no additional dependencies leaked between mobile and desktop variants
99
10+ ## Development
11+
12+ - Install dependencies with ` yarn `
13+ - Use ` yarn dev:desktop ` and ` yarn dev:mobile `
14+
15+ ## Deployment
16+
17+ - Build with ` yarn build:desktop ` and ` yarn build:mobile `
18+ - Deploy each app to a subdomain
19+
1020## Configuration
1121
1222- Add any common nuxt module and config to base ([ base/nuxt.config] ( ./packages/base/nuxt.config.js ) )
Original file line number Diff line number Diff line change 55 ],
66 "scripts" : {
77 "dev:desktop" : " yarn workspace @app/desktop dev" ,
8- "dev:mobile" : " yarn workspace @app/mobile dev"
8+ "dev:mobile" : " yarn workspace @app/mobile dev" ,
9+ "build:desktop" : " yarn workspace @app/desktop dev" ,
10+ "build:mobile" : " yarn workspace @app/mobile dev"
911 },
1012 "devDependencies" : {
1113 "nuxt" : " ^2.14.7"
You can’t perform that action at this time.
0 commit comments