Run the following command on your local environment:
yarn
Then, you can run locally in development mode with live reload:
yarn dev
Open http://localhost:4321 with your favorite browser to see your project.
You can create an optimized production build with:
npm run build
Now, your blog is ready to be deployed. All generated files are located at
dist
folder, which you can deploy the folder to any hosting service you
prefer.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run clean |
Remove ./dist folder |
npm run lint |
Run ESLint and report styling error |
Everyone is welcome to contribute to this project. Feel free to open an issue if you have question or found a bug.
This README.md was linted with markdownlint
Licensed under the MIT License, Copyright © 2022