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

https://github.com/markthree/nuxt3-intelligence

nuxt3 的智能工具集合
https://github.com/markthree/nuxt3-intelligence

Last synced: 8 months ago
JSON representation

nuxt3 的智能工具集合

Awesome Lists containing this project

README

          

# nuxt3-intelligence

`nuxt3` 智能工具集合


## Usage

### install

```shell
npm i nuxt3-intelligence
```

### Program

#### getStaticDepsFromNuxtConfig

```ts
import { getStaticDepsFromNuxtConfig } from 'nuxt3-intelligence'

const deps = getStaticDepsFromNuxtConfig()

deps // Get all static deps for modules and extends
```

#### genPrerenderRoutesSync

```ts
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](https://github.com/markthree)

Published under [MIT License](./LICENSE).