Commit node_modules
This commit is contained in:
44
README.md
44
README.md
@@ -149,48 +149,6 @@ Example `config.yaml`:
|
||||
module:
|
||||
imports:
|
||||
- path: "github.com/willfaught/paige"
|
||||
mounts:
|
||||
# Default mounts
|
||||
- source: "archetypes"
|
||||
target: "archetypes"
|
||||
- source: "assets"
|
||||
target: "assets"
|
||||
- source: "content"
|
||||
target: "content"
|
||||
- source: "data"
|
||||
target: "data"
|
||||
- source: "i18n"
|
||||
target: "i18n"
|
||||
- source: "layouts"
|
||||
target: "layouts"
|
||||
- source: "static"
|
||||
target: "static"
|
||||
# Bootstrap
|
||||
- source: "node_modules/bootstrap/dist/css"
|
||||
target: "assets/_paige/bootstrap"
|
||||
includeFiles: ["/bootstrap.css"]
|
||||
- source: "node_modules/bootstrap/dist/js"
|
||||
target: "assets/_paige/bootstrap"
|
||||
includeFiles: ["/bootstrap.bundle.js"]
|
||||
- source: "node_modules/bootstrap/js/dist"
|
||||
target: "assets/_paige/bootstrap"
|
||||
- source: "node_modules/bootstrap/scss"
|
||||
target: "assets/_paige/bootstrap"
|
||||
# Bootstrap Icons
|
||||
- source: "node_modules/bootstrap-icons/font/fonts"
|
||||
target: "static/_paige/bootstrap-icons/fonts"
|
||||
- source: "node_modules/bootstrap-icons/font"
|
||||
target: "assets/_paige/bootstrap-icons"
|
||||
includeFiles: ["/bootstrap-icons.css"]
|
||||
# Katex
|
||||
- source: "node_modules/katex/dist/contrib"
|
||||
target: "assets/_paige/katex"
|
||||
includeFiles: ["/auto-render.min.js"]
|
||||
- source: "node_modules/katex/dist/fonts"
|
||||
target: "static/_paige/katex/fonts"
|
||||
- source: "node_modules/katex/dist"
|
||||
target: "assets/_paige/katex"
|
||||
includeFiles: ["/katex.min.css", "/katex.min.js"]
|
||||
```
|
||||
|
||||
Install:
|
||||
@@ -212,8 +170,6 @@ $ hugo mod get -u
|
||||
|
||||
```sh
|
||||
$ cd yourproject
|
||||
$ hugo mod npm pack
|
||||
$ npm install
|
||||
$ hugo server -D
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user