Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-htmlize

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-htmlize

Make working OG Tags and SEO in pure Vue projects.

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

vue-htmlize

Make working OG Tags and SEO in pure Vue projects. Improve your SEO in SPA apps!

Get started

Install

  npm i vue-htmlize

Config in vue

In main.ts or main.js just import vue-htmlize

  import App from './App.vue'
  import router from './router'

  import htmlize from 'vue-htmlize' // import it
  htmlize.byRouter(router) // generate htmls by router

  const app = createApp(App)
  app.use(router)
  app.mount('#app')

Options

Few options to setup it for your project

  // deletes unused files in public dir [ default : false ]
  htmlize.config.clean = true

  // files excluded from deletion [ default : '.htaccess', 'favicon.ico' ]
  htmlize.config.ignore = [ '.htaccess', 'favicon.ico', 'img' ]

  // directory for public files [ default: 'public']
  htmlize.config.dist = "public"

  // html template file to set global options (fonts, css) [ default: "index.html" ]
  htmlize.config.template = "index.html"

Contributing

Feel free to contribute at GitHub

Keywords

FAQs

Package last updated on 15 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc