Generate a vanilla HTML/CSS boilerplate in a flash! ⚡
npm install create-html-boilerplateGenerate a vanilla HTML/CSS boilerplate _in a flash!_ ⚡
``sh`
npx create-html-boilerplate my-app
cd my-app
If you've previously installed create-html-boilerplate globally via npm install -g create-html-boilerplate, we recommend you uninstall the package using npm uninstall -g create-html-boilerplate to ensure that npx always uses the latest version.
_(npx comes with npm 5.2+ and higher, see instructions for older npm versions)_
By using an extension like Live Server on VSCode, you can view the file live at http://localhost:5500/
You’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
To create a new app, you may choose one of the following methods:
`sh`
npx create-html-boilerplate my-app
_(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)_
`sh`
npm create-html-boilerplate -g
create-html-boilerplate my-app
Once you've created the boilerplate, cd into your project by running the follwing command:
`sh`
cd my-app
Don't need all the crazy frameworks and tools? Start fresh with a minimal HTML, CSS, and Javascript folder structure.
By running the simple CLI, you can generate a folder structure like so:
``
my-app
├── index.html
├── styles
│ ├── main.css
├── scripts
│ ├── main.js
Thanks for showing interest to contribute to Create HTML Boilerplate 💖, you rock!
Follow the directions below to setup your project and contribute to this repository.
1. Fork the repo (click the Fork button at the top right of this page)
2. Clone your fork locally
`sh`
git clone https://github.com/
cd create-html-boilerplate
3. Setup all the dependencies and packages
`sh`
npm install
Once you submit a PR, we'll respond as soon as possible so we can take a look at what you've made!
That's awesome! Start by following the instructions given earlier of how to run this project on your system locally.
Then, commit and push your changes:
`bash``
git add .
git commit -m "My commit message"
git push
Once finished, you can create a pull request!
Is it your first time? Check out this link to learn how to submit a pull request.
Please submit an issue and provide a clear path to reproduction with a code example.
The clearer you are, the easier it will be for us help!
Create HTML Boilerplate is open source software licensed as MIT.
---
Made by @BraydenTW