Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shipengqi/frontend-learn

:books: Frontend learning ...
https://github.com/shipengqi/frontend-learn

angular css css3 html html5 javascript less node nodejs typescript vite vue webpack

Last synced: about 1 month ago
JSON representation

:books: Frontend learning ...

Awesome Lists containing this project

README

        

# frontend-learn

Frontend learning ...

## Usage

Development:

```sh
# init submodule, set the URLs and paths of the submodules based on the information in the .gitmodules file,
# but will not download the submodule's content
# after cloning a repository containing submodules, run this command to initialize the submodules.
git submodule init

# Update the submodule's content to the latest commit in the branch specified in the .gitmodules file
# Run this command after initializing a submodule, or when you need to update the contents of a submodule.
git submodule update

# git submodule add [email protected]:alex-shpak/hugo-book.git themes/book

# start server
hugo server --minify --theme book
```

Manually deploy:

```sh
./deploy.sh
```

> Any changes in the `content` directory will automatically trigger a deployment.

## Menu

By default, the [hugo-book](https://github.com/alex-shpak/hugo-book) theme will render pages from the `content/docs` section as a menu in a tree structure.
You can set `title` and `weight` in the front matter of pages to adjust the order and titles in the menu.