starting point for experiments with plain JavaScript and CSS
- Only a web browser like Firefox or Chrome is needed to run the program.
- Optionally, if Node.js is installed on the development computer, the NPM package alive-server can be used for automatic page reloads after source code changes.
To create a new project from this template, download the project files from here or run the following Bash snippet:
SLUG=javascript-sandbox-$(date +%s)
{
git clone [email protected]:experimental-software/javascript-vanillajs-template.git $SLUG
cd $SLUG
}
npm install -g alive-server
alive-server --no-browser
Then open http://127.0.0.1:8080 in a web browser.
To enable prettier in IntelliJ IDEA:
npm install --save-dev prettier
Also see