Hi, what do you think about blazor in general, I found it quit hard to adapt because I miss features like scss support or automatic browser refresh. Are these issues somehow solvable?
I love people and everything good. And I want to positively influence people and be influenced by positive people. I am in love with software development using .NET Technologies.
Scss is just a tool that compiles down to plain CSS. You can reference your CSS file in your project as you want. And there are a lot of Blazor components out there you can use.
Thanks I know that, I just miss some automation tool which could do that in the background, like in react node-sass with the right babel config and loader
An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
navigate into you project folder with the terminal and run ` browser-sync start "--proxy localhost:3000/ " --files '*/.razor, */.css, */.cs, */.scss !./bin, !./obj'
localhost:3000/ represent the blazor app url
open the browsersync management link in the terminal, copy the javascript from browser sync code into the html file in your wwwroot
open your blazor app in the browser
thats the first time setup every other time just run the dotnet watch run command and the browsersync command in a second terminal.
An experienced software developer with a strong background in developing award-winning web and mobile applications for diverse clients with 6+ years of industry experience.
I love people and everything good. And I want to positively influence people and be influenced by positive people. I am in love with software development using .NET Technologies.
Hi, what do you think about blazor in general, I found it quit hard to adapt because I miss features like scss support or automatic browser refresh. Are these issues somehow solvable?
Scss is just a tool that compiles down to plain CSS. You can reference your CSS file in your project as you want. And there are a lot of Blazor components out there you can use.
Thanks I know that, I just miss some automation tool which could do that in the background, like in react node-sass with the right babel config and loader
I could not imagine using this Blazor without automatic browser refreshing after my experience with React and all that.
Same for me, but I found a way to overcome this with browsersync, and for the styles I found a package called blazor styled
Can you provide the steps?
I will, later today (CET), for now I have still some work to do.
So
dotnet watch run
thats the first time setup every other time just run the
dotnet watch run
command and the browsersync command in a second terminal.Thank you so much ✊✊✊
no problem, have a nice day ;)
For me, it is just playground. I would stick to asp.net razor pages and html , css, javascript for the moment.
Whatever makes you happy. Razor Pages is as powerful as Blazor. Blazor, both server-side and client-side, is production ready.