Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomfreudenberg/gatsby-build-demo-splitted
This is a sample for a discussion to gatsby team at https://github.com/gatsbyjs/gatsby/issues/12412
https://github.com/tomfreudenberg/gatsby-build-demo-splitted
Last synced: about 2 months ago
JSON representation
This is a sample for a discussion to gatsby team at https://github.com/gatsbyjs/gatsby/issues/12412
- Host: GitHub
- URL: https://github.com/tomfreudenberg/gatsby-build-demo-splitted
- Owner: TomFreudenberg
- Created: 2019-03-09T19:56:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T20:41:58.000Z (almost 6 years ago)
- Last Synced: 2024-10-27T23:44:44.513Z (3 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steps how the demo was created
``` bash
mkdir gatsby-build-demo-splitted
cd gatsby-build-demo-splittednpx gatsby new pdf_docs https://github.com/gatsbyjs/gatsby-starter-hello-world
npx gatsby new pdf_app https://github.com/gatsbyjs/gatsby-starter-hello-world
```# Steps how to reproduce the demo from repository
``` bash
git clone https://github.com/TomFreudenberg/gatsby-build-demo-splitted
cd gatsby-build-demo-splitted
```### first create the pdf_document(s)
``` bash
cd pdf_docs
npm install
npm run build
npm run build_pdfs
```### second create the client app
``` bash
cd ../pdf_app
npm install
npm run build
npm run serve
```Now it is possible to get the sample and the PDF from http://localhost:9000/
# Question
## How to meld all in one project and one build process?