Comments (2)
I also tried running ng eject
which created a new webpack from angular cli.
I then copied it over to the the webpack-server.config.js
and changed the entry point with the same result. Running just the front end works.
I'm hoping this isn't an unfixable issue. Having different style loading order in dev setup and our production setup is going to be an issue.
from angular-ssr.
Starting to feel like I'm talking to myself...
I found a solution though. I ran ng eject
on a separate branch to create the webpack.config.js
file and used that one instead of the one listed in the issue. webpack-server.config.js
was left the same.
Thanks for the project... This process should be listed in the guide or example IMHO. Would have saved me a couple days of frustration.
from angular-ssr.
Related Issues (20)
- Angular Flex Layout Styling Issue HOT 2
- NodeModule.js and osenv.js errors while building using webpack 2.4.1 HOT 6
- ViewChild/ ElementRef gets server side elements instances instead of client side. HOT 2
- different behavior sometime in server-side rendering at build time HOT 1
- The blog content disappear when I refresh the page.(demand-express example) HOT 7
- Can not replicate easy build - Module not found: Error: Can't resolve './app.ts' HOT 3
- No ssr on certain routes. HOT 1
- Shim errors on Demand Express example HOT 1
- Shows content but clears afterwards HOT 16
- SSR Performance App Startup and Rendering Times HOT 1
- Error on postbuild:ng-render HOT 1
- Can't dispatch ngrx/store action more than once from a lazy loaded module HOT 1
- route specific style tags only loaded first time
- Build Issues HOT 1
- Examples are not working HOT 1
- How to access a cookie on both platforms HOT 4
- Compatibility with Angular 5 HOT 8
- Cannot find module './app.module'
- Page source not reflecting what is on the screen.
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 angular-ssr.