Micthew Posted October 7, 2022 Share Posted October 7, 2022 Hey guys i want to asking How to use Live Server Extension in VSCode for displaying Processwire templates? Link to comment Share on other sites More sharing options...
markus-th Posted October 7, 2022 Share Posted October 7, 2022 5 hours ago, Micthew said: How to use Live Server Extension in VSCode for displaying Processwire templates? Live Server is not suitable, because it cannot parse PHP or establish a database connection. I would recommend you to work with XAMMP (or MAMP for Mac) for local development. Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted October 7, 2022 Share Posted October 7, 2022 Live Server Extension for VS Code + a browser extension for it are a tool to refresh any page in the browser when the watched code in VS Code changes. It can work with php-generated content - see here on how to set it up. Nothing unique to ProcessWire though. 2 Link to comment Share on other sites More sharing options...
gs-df Posted October 7, 2022 Share Posted October 7, 2022 I recommend RockFrontend(for LiveReload) + DDEV: a local web development environment system for PHP 1 Link to comment Share on other sites More sharing options...
bernhard Posted October 7, 2022 Share Posted October 7, 2022 Your question is very short, so we cant know anything about your intentions... If your intention is to get live updates in your browser while working on the markup of your ProcessWire site than be sure to check out RockFrontend: 1 hour ago, Markus Thomas said: I would recommend you to work with XAMMP (or MAMP for Mac) for local development. You might want to check out DDEV: https://processwire.com/talk/topic/27433-using-ddev-for-local-processwire-development-tips-tricks/ Quoting @netcarver here: Quote Well, late to the party, having been a long-time user of devilbox for local docker-based development. However, the need to support distinct per-project tech stack differences has forced a move away from devilbox to ddev and, apart from the need to make a few local .env changes, it's working out really well so far. Highly recommend it if you haven't tried it out yet. Link to comment Share on other sites More sharing options...
Micthew Posted October 10, 2022 Author Share Posted October 10, 2022 On 10/7/2022 at 8:51 PM, Markus Thomas said: Live Server is not suitable, because it cannot parse PHP or establish a database connection. I would recommend you to work with XAMMP (or MAMP for Mac) for local development. Ouh i see, so i can't use Live Server, right? Yes i using XAMPP for Windows Thank you so much @Markus Thomas ___________________________________________________________________________________________________________________ On 10/7/2022 at 9:12 PM, Ivan Gretsky said: Live Server Extension for VS Code + a browser extension for it are a tool to refresh any page in the browser when the watched code in VS Code changes. It can work with php-generated content - see here on how to set it up. Nothing unique to ProcessWire though. Ok i'll try for your suggestion, thank you so much @Ivan Gretsky ___________________________________________________________________________________________________________________ On 10/7/2022 at 10:41 PM, gs-df said: I recommend RockFrontend(for LiveReload) + DDEV: a local web development environment system for PHP Ok i'll try this suggestion too, thank you so much @gs-df ___________________________________________________________________________________________________________________ On 10/7/2022 at 10:46 PM, bernhard said: Your question is very short, so we cant know anything about your intentions... I'm apologize, just that question in my brain ? , "to the point" ___________________________________________________________________________________________________________________ On 10/7/2022 at 10:46 PM, bernhard said: If your intention is to get live updates in your browser while working on the markup of your ProcessWire site than be sure to check out RockFrontend: Ok, your suggestion is like @gs-df, maybe RockFrontend is a recommended for me, so i'll try it, thank you so much @bernhard Link to comment Share on other sites More sharing options...
pwired Posted October 10, 2022 Share Posted October 10, 2022 Quote Yes i using XAMPP for Windows Give Laragon a try and you will be amazed by it's speed and ease in setup and features https://laravelarticle.com/laragonhttps://www.slant.co/versus/11127/29252/~xampp_vs_laragonhttps://stackoverflow.com/questions/61146545/is-there-any-drawback-of-laragon-compared-to-xampp Link to comment Share on other sites More sharing options...
Micthew Posted October 10, 2022 Author Share Posted October 10, 2022 1 hour ago, pwired said: Give Laragon a try and you will be amazed I'm interesting for Laragon? Maybe i'll try Laragon, thanks so much @pwired Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now