0.0.1-27627055.9933660 • Published 3 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/adminThen, 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.comIt 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:13370.0.1-27627055.9933660
3 years ago
0.0.1-27546523.78b540c
3 years ago
0.0.1-27546520.38a9290
3 years ago
0.0.1-27546723.218b36a
3 years ago
0.0.1-27545087.2a883d2
3 years ago
0.0.1-27546776.9042260
3 years ago
0.0.1-27539127.cdac702
3 years ago
0.0.1-27549305.d2c61b7
3 years ago
0.0.1-27556623.cee307a
3 years ago
0.0.1-27547729.5c0f515
3 years ago
0.0.1-27538003.bc43256
4 years ago
0.0.1-27539132.30187e6
3 years ago
0.0.1-27546721.603ac78
3 years ago
0.0.1-27545200.07a60f1
3 years ago
0.0.1-27537976.dfe2967
4 years ago
0.0.1-27531272.b4f169e
4 years ago
0.0.1-27508221.66090e1
4 years ago
0.0.1-27506230.3257fb9
4 years ago
0.0.1-27502362.cbe10ff
4 years ago
0.0.1-27502355.ab6a764
4 years ago
0.0.1-27502344.8012e8d
4 years ago