1

-Hello I am new in Vue, I am building VueJS application in SPA with SFC, I was wondering if there is any way to see html changes without rebuild the application again, changes in all file reflect immediately but changes in html and css required execute npm run dev again.

  • I use Vue3, js and bootstrap only, I am not using nodejs or typescript.

I need some way to make my changes reflect on html after saving file with out rebuilding the application.

6
  • There are a few ways to see changes in HTML and CSS without rebuilding the application. Hot Reloading, Browser extension , Webpack. Commented Jan 18, 2023 at 8:12
  • It is possible to create apps with Vue and Components without any builder. Here is an example of the simplest Vue app stackoverflow.com/a/75099602/2487565. Of course it does make sense only for developing/debugging. Commented Jan 18, 2023 at 11:13
  • Has this been happening for a long time? Sometimes it happens with my development also, so I stop my server, clear my cache, restart the server, do a hot reload, and everything gets rectified. You could try that also. Commented Jan 18, 2023 at 12:59
  • @Tolbxela thanks for answering, But could I do this with Vusjd SPA too? Commented Jan 19, 2023 at 8:09
  • @moe_rayo Thanks, I am already doing that but Is there any way to make Vue do this auto. Commented Jan 19, 2023 at 8:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.