Skip to content

hugo-fixit/cmpt-mdevtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmpt-mdevtools

Mobile devtools component powered by vConsole and eruda.

Requirements

Install Component

The installation method is the same as installing a theme. There are several ways to install, choose one, for example, install through Hugo Modules:

[module]
  [[module.imports]]
    path = "github.com/hugo-fixit/FixIt"
+ [[module.imports]]
+   path = "github.com/hugo-fixit/cmpt-mdevtools"

Configuration

# Mobile Devtools config
[params.mDevtools]
  enable = false
  # "eruda", "vConsole" supported
  type = "eruda"

Inject Partial

In order to Inject the partial cmpt-mdevtools.html into the custom-assets through the custom block opened by the FixIt theme in the layouts/_partials/custom.html file, you need to fill in the following necessary configurations:

[params]
  [params.customPartials]
    # ... other partials
    head = [ "inject/cmpt-mdevtools.html" ]
    # ... other partials

References

About

Mobile devtools component powered by vConsole and eruda.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published