Comments (4)
Hi Shaigalili, which template were you using? I need more details on what error you're having. I currently build the 2 projects within docker without any issue.
Don't forget that you need to have NodeJs
from honosoft.dotnet.web.spa.projecttemplates.
Hi Nordes,
I've used this on windows, VS 2019, with NodeJs installed.
from honosoft.dotnet.web.spa.projecttemplates.
Humm I also use that setup. I think you have a specific issue. Have you tried to reload the page after? I know that the wwwroot is empty when the web app starts. You refresh a second after and it's ok.
On my local version, i was tired of F5, so I added the following:
Update webpack.config.js
'use strict'
const fs = require('fs') // added
// ....
console.info(`Building for production: ` + isProduction)
rimraf.sync(path.resolve(_rootDir, 'wwwroot/**/*'), { silent: true })
// Avoid to create the file when publishing to production, otherwise the publish might fails.
if (!isProduction) {
fs.createReadStream(path.resolve(_rootDir, 'build/index.loading.html')) // added
.pipe(fs.createWriteStream(path.resolve(_rootDir, 'wwwroot/index.html'))) // added
}
// ...
new file created under the build folder index.loading.html
<html>
<head>
<title>Building...</title>
</head>
<body>
Loading ...
<script>setInterval(() => {
location.reload()
}, 400);</script>
</body>
</html>
from honosoft.dotnet.web.spa.projecttemplates.
Fixed, a loadng "message" is now showing and load the page when ready.
from honosoft.dotnet.web.spa.projecttemplates.
Related Issues (20)
- Webpack + Lint - Live? HOT 1
- CSS Glitch (over the overlay) HOT 1
- Bug with routes order in vue picnic css HOT 1
- Change the startup to be more pluggable HOT 1
- html webpack plugin HOT 1
- Regression: The publicPath for dist is causing webpack hot reload issue HOT 1
- Add a spinner when loading the data HOT 1
- Write a wiki for Docker + one of the template. HOT 2
- Delay on the API is too long
- Persists in vuex + localstorage the Language HOT 1
- Add a cookie message ... (you know) HOT 3
- Map file generation are not generated
- Align code with latest version of dotnet (UseSpa + AddSpaStaticFiles)
- publish in docker does not work HOT 9
- Images in SCSS fails to have the proper URI
- todo... redesign theme with better flex css HOT 1
- Update readme - New design / Minor changes HOT 1
- Add a collapsible menu. HOT 1
- Since the left menu can collapse, we should keep the state
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 honosoft.dotnet.web.spa.projecttemplates.