0.1.1 • Published 1 year ago

nuxt3-intelligence v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

nuxt3-intelligence

nuxt3 智能工具集合

Usage

install

npm i nuxt3-intelligence

Program

getStaticDepsFromNuxtConfig

import { getStaticDepsFromNuxtConfig } from 'nuxt3-intelligence'

const deps = getStaticDepsFromNuxtConfig()

deps // Get all static deps for modules and extends 

genPrerenderRoutesSync

import { genPrerenderRoutesSync, createDefaultGenPrerenderRoutesSyncOptions } from 'nuxt3-intelligence'

const defaultOptions = createDefaultGenPrerenderRoutesSyncOptions() // https://content.nuxtjs.org/ mode
const routes = genPrerenderRoutesSync(defaultOptions)

routes // Get all routes for nuxt content with cache

License

Made with markthree

Published under MIT License.