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.
7
7
- Most of the logic is shared in base package
8
8
- Using two sperate builds ensures that there are no additional dependencies leaked between mobile and desktop variants
9
9
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
+
10
20
## Configuration
11
21
12
22
- 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 5
5
],
6
6
"scripts" : {
7
7
"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"
9
11
},
10
12
"devDependencies" : {
11
13
"nuxt" : " ^2.14.7"
You can’t perform that action at this time.
0 commit comments