0.0.1-27627055.9933660 • Published 2 years ago
@nuxthq/admin-edge v0.0.1-27627055.9933660
@nuxthq/admin
Enhance Nuxt.com features as a Nuxt module.
Installation
yarn add --dev @nuxthq/admin
Then, register the module in your nuxt.config.js
:
import { defineNuxtConfig } from 'nuxt'
export default defineNuxtConfig({
buildModules: [
'@nuxthq/admin'
]
})
If you want latest updates, please use @nuxthq/admin-edge
in your package.json
:
{
"devDependencies": {
"@nuxthq/admin": "npm:@nuxthq/admin-edge@latest"
}
}
Usage
The module will expose an admin
public runtime config:
const { admin } = useRuntimeConfig().public
admin.apiURL // default: https://api.nuxt.com
It will also expose the /api/_admin/components
route to list the project components based on https://github.com/nuxtlabs/nuxt-component-meta.
You can configure the admin API URL by setting it in the .env
or as environment variable in production:
NUXT_PUBLIC_ADMIN_API_URL=http://localhost:1337
0.0.1-27627055.9933660
2 years ago
0.0.1-27546523.78b540c
2 years ago
0.0.1-27546520.38a9290
2 years ago
0.0.1-27546723.218b36a
2 years ago
0.0.1-27545087.2a883d2
2 years ago
0.0.1-27546776.9042260
2 years ago
0.0.1-27539127.cdac702
2 years ago
0.0.1-27549305.d2c61b7
2 years ago
0.0.1-27556623.cee307a
2 years ago
0.0.1-27547729.5c0f515
2 years ago
0.0.1-27538003.bc43256
2 years ago
0.0.1-27539132.30187e6
2 years ago
0.0.1-27546721.603ac78
2 years ago
0.0.1-27545200.07a60f1
2 years ago
0.0.1-27537976.dfe2967
2 years ago
0.0.1-27531272.b4f169e
2 years ago
0.0.1-27508221.66090e1
2 years ago
0.0.1-27506230.3257fb9
2 years ago
0.0.1-27502362.cbe10ff
2 years ago
0.0.1-27502355.ab6a764
2 years ago
0.0.1-27502344.8012e8d
2 years ago