Current collected state Current
Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
3shape-global-nav-demo
### Compiles and hot-reloads for development ``` npm run serve ```
Install packages
npm i 3shape-global-nav-demo @webcomponents/webcomponentsjs
Add polyfill import
import '@webcomponents/webcomponentsjs/webcomponents-bundle.js';
// or dynamical
import '@webcomponents/webcomponentsjs/webcomponents-loader.js';
Add component import
import '3shape-global-nav-demo';
Use tag
<g-navigation
username="{userName}"
token="{token}"
editprofileurl="{editProfileUrl}"
logouturl="{logoutUrl}"
></g-navigation>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| {userName} | String | null | shows user name in account menu |
| {token} | String | null | the same as {userName}. component decodes token for you and gets userName from it. if you specify {userName} - {token} will not work |
| {editProfileUrl} | String | null | link to user profile page |
| {logoutUrl} | String | null | link to logout page |
npm i
npm run watch
npm run serve
Go to http://localhost:8000
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
core-jsEnvironment{
"local_name": "core-js",
"alias": false,
"peer_metadata": null
} | ^3.6.4 | runtime |
vueEnvironment{
"local_name": "vue",
"alias": false,
"peer_metadata": null
} | ^2.6.11 | runtime |
@vue/cli-plugin-babelEnvironment{
"local_name": "@vue/cli-plugin-babel",
"alias": false,
"peer_metadata": null
} | ~4.2.0 | development |
@vue/cli-serviceEnvironment{
"local_name": "@vue/cli-service",
"alias": false,
"peer_metadata": null
} | ~4.2.0 | development |
vue-template-compilerEnvironment{
"local_name": "vue-template-compiler",
"alias": false,
"peer_metadata": null
} | ^2.6.11 | development |
vueEnvironment{
"local_name": "vue",
"alias": false,
"peer_metadata": null
} | ^2.6.5 | peer |
Source distribution
{
"integrity": "sha512-EO3BXZijXtqDtimovCu/FviuxZccLizuOVnQM0fDCtHcacFbNJc1yJOWlt02SZoBcGst8f865H94jAIbivUd3A==",
"shasum": "2bf0f648441ce095f39e24d6cea6a9b411fe68c4",
"tarball": "https://registry.npmjs.org/3shape-global-nav-demo/-/3shape-global-nav-demo-0.3.0.tgz",
"fileCount": 31,
"unpackedSize": 711200,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejIDACRA9TVsSAnZWagAAVH4P/ixwC6Ccdj952pXaAiGX\nvJx3+ykq0t+yhvxHnRk259IwMqHiZJkEOqCDOibtT3cydCoNX9MdbsGWmk50\n2EYWRpX4m2RPjgtKIcOM0XHSJf0hfPD0dyWb2SpfkM8yxYXhOtbcp5omP3G4\nH71Jqf2D2IYm1XdIXlYXk6Nvrfy76rbaSVJaCVjAYQx6Cm4LYJLcF4qJ3ttY\nIFz84jyMBrp+ygZ0WbkVsyMBAFbt7yMxjnk00PHSFPrzgax9Mrq7tLIyHiKQ\nMrzWk2Vmc3kZLIPYsB6zsRH0FmanldAbSniPGd/xuRNWjY8U+ZNskQqgUJaO\n2nb9Ham7/7IDCRx4h8Ckf10MfKopBLuQUn5WR8Fc53nSU4zUcR4muCqnkSNk\npReZKDkO2MIwi7L/H/5VFjZAA8ye2el/6zvf7qOdShBkofOBvdoiWbrIjd3w\nwM5W3dLxOUX8+LxBYjpFSpyUl1l4eUOmmoaJhxyH2JH6yUodxSsGDTG1eQLP\nT+evFJ6k3iT3cf7Th0kCmlGCH+FJkQmLUFcioIQJNXPF/vo3QhUR95tDVcu4\neKxSCs9cf7z5aGr3qRx98zTgFwgPaYCGzh386FMrZkJk+83110IgTMla9kfK\nUcyERauGqr4UG6pt0s3Hz9PfUMVGoYrKFTksLdNUuGdNpfelslQ39o2lFPs1\nB6g8\r\n=Yx9R\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQChJuscnx+1PbBfLzvYPUnrgiWgOPboNormHSJpq6xf6QIhAJlZWvSudThbPf/c7x5IKCh5UTyGPjUsyRjH0FpF7JEv"
}
]
}Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:2463c488c1941b5ff3d3d24eaf35f647c74a8f85fb7429060907813d9eccb7cf