Comments (2)
build all your path of the app.
Then you need to deploy like the static site(nginx)
from universal-starter.
@Gorniv can you please be more specific
- npm run build:universal
- npm run build:prerender
- which folders need to be copied to static web server? (e.g. I see static, dist, and dist-server beeing generated ...) Also, any specific rule where should I put them?
What I am looking for is a single dist folder with html files for each path in static.paths.ts as well as javascript sources for transition to the angular app once the app is loaded on the client. For instance, in https://github.com/angular/universal-starter/blob/master/package.json I was able to achieve that by running npm run build:prerender && npm run serve:prerender
from universal-starter.
Related Issues (20)
- Nodemon error HOT 1
- 'format:check command not working HOT 1
- Question. InlineStyleComponent HOT 3
- Prerender- state undefined Is this error message?
- Remove dependency from package.json
- Host application on Azure HOT 1
- Validation do not work
- window is not defined with DOMINO - Angular 9 HOT 1
- Home page is not rendering as ssr: Angular 9
- Error: Can't set headers after they are sent. at SendStream.headersAlreadySent
- *Question* Setting Dynamic Meta Tags with HTTP calls? HOT 1
- how to add absolute path for scss files
- Error: Can't set headers after they are sent to the client
- How can i deploy on firebase HOT 5
- Postscribe(use to add 3rd party script) is not working: Angular 9 Universal.
- Looks like unused variable. HOT 1
- Translate Service NullInjection problem while prerendering HOT 2
- Cannot read property 'start' of undefined at new EffectsRootModule HOT 1
- Is there a way to implement proxy when do SSR?
- Is there any update for angular 14
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 universal-starter.