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-whkLw0J05RRzNx8Uxe8OUb4F75rb880MWsYRf3WGzCdqyVyQFr6dge/8peihcDl9sxVmZvEyOtli8doxELBZyg==",
"shasum": "2e34d488106659d110f72b72d30e19c767f62a68",
"tarball": "https://registry.npmjs.org/3shape-global-nav-demo/-/3shape-global-nav-demo-0.2.2.tgz",
"fileCount": 31,
"unpackedSize": 708075,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiyp5CRA9TVsSAnZWagAAEC0P/39d1hcDJgQlD3OHD+ws\nvNQLEURHDIr5S5ENTCBJ820o3KeD/RGEb/ljENpoibL0o7Hbvl52YxfuF1yO\nOd2IxmzqebM9GBlCx1b1FF4xdb4hQGHGWo8zHSaFy3HrPc3C5hnzMfBovRL0\nfBNBiYrW0tmFssuvT5kYJXNV/XisAKICJ3oQNe+vUOtQdRFB6a4NGMwTiF0f\npX6Y9TuDDFImx+HTZSFQK/QzzAvO1GdBbm8iKoVS+8poe7PTbBnV3VPZeaRZ\njQJiywrCsQILI8t0FqnaUN0Qt/V3m2JqMZS0yYGv5gDTA+axmznAsLOdXd0Y\nrxntMt2IauWlmdqKXVOIy8t3Cgswp7om6Ye1AY+fS2M0ke/7IE6ENDWbzu/L\nfMMJ2/fa2ckyduwoZA194hvPs5OA+bwQ5+fwbpLH3Np3VmCc18KW3ySvqnTn\nPK6iybVgBENOIf91iWrng9owGfLTM6OvViMtMF+MZ2Z3gfxXZKfwCy/2Ry5Z\nQoJeVLIuML4RGC8Ztl4fzcRX4/VIT0eh8p9+gHfUPefBYJUHWJfuxBDhXTXp\nQmIIRaPdVZWsKvT5lKwu7J4ihpBYSRu6mMD5DFwif3Dw5anvUM9VUAiJ8lLX\no8iRkEtkJiXRMcDQ3nHx1HO+fOP0uu1GXt4d8uRyLVBPEdV1heFhNtD060Go\nBnt8\r\n=3f+Q\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEYCIQCdEUdD4zgA4+p3fyNdkH5S55TN5m7bftyosz3E8YlnZQIhAOTku4lBGMr3JX6c1rmd4AoErDtmrqNXRfhei/z3qqZb"
}
]
}Observed since 20 Oct, 19:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:5ce089ddd23ee9bc0d5660b36fcc0e1bdd5de15bc9aa45979cc758a013af6759