Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions about the Sitecore JavaScriptServices module and JSS CLI.
1
vote
Accepted
JSS vue - Error with server.bundle.js after jss deploy package
First, disable UglifyJsPlugin from webpack.shared.js
"jss deploy package"
Then go to the line specified in the error dist\my-app\server.bundle.js
You will find what plugin are causing this error
In my …
1
vote
Accepted
How can i add an svg with a sc-link JSS with VUE JS?
Object,
default: () => ({}),
}
}
};
</script>
In your sitecore/definitions/components/LinkImage.sitecore.js
import { addComponent, CommonFieldTypes, SitecoreIcon } from '@sitecore-jss … /sitecore-jss-manifest';
export default (manifest) => {
addComponent(manifest, {
name: 'LinkImage',
displayName: 'Link Image',
icon: SitecoreIcon.Airbrush,
fields: [
{ name: 'link …
0
votes
2
answers
4k
views
How to add a favicon in the root of the app
JSS
VueJs sample
Tech preview 3
I tried to add favicons in /assets/favicon-16x16.png
Then, in /src/app/ServerHtml.js, I added:
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16. …
1
vote
1
answer
592
views
How can I share data from one component in JSS with Vue Js?
duplicate this data for each pages
How can I ask to my
src/app/components/header-nav.vue
<template>
<sc-link :field="fields.link" />
</template>
<script>
import { Link } from '@sitecore-jss … /sitecore-jss-vue';
export default {
name: 'HeaderNav',
props: {
fields: {
type: Object,
default: () => ({}),
}
},
data: function () {
return {} …
0
votes
2
answers
3k
views
Placeholder was not found in the current rendering data - JSS sitecore 9 with VueJs
In Disconnected mode
JSS Tech Preview 3
Sample vue JS
I have a component : data/component-content/Footer-nav
With an ID : ID__footer-nav
I can link all my pages to this component perfectly:
"PH …
2
votes
2
answers
944
views
JSS vue - Error with server.bundle.js after jss deploy package
Good Morning,
Yesterday I was working on a fresh install of Sitecore 9.1 and followed the documentation for JSS with vue.
Everything was fine. I was able to connect my local app with my Sitecore. …
2
votes
1
answer
200
views
I want my JSS app to be the homepage
I would like to see my app when I go to my local root URL (in anonymous mode).
I deleted the Home website from the admin.
So currently I have this tree:
my-app.config looks like this:
However, …
0
votes
1
answer
695
views
Placeholders in my component doesn't show in Sitecore connected mode after a deploy - JSS - ... [closed]
mode, everything is fine:
1 - I have a placeholder named : PH__fullscreen-hero inside my component:
2 - I added data to my en.json:
3 - In local mode, everything is fine:
4 - Then after : jss …
1
vote
Placeholders in my component doesn't show in Sitecore connected mode after a deploy - JSS - ...
Solution:
I forgot to include Placeholder in \sitecore\definitions\components\FullscreenHero.sitecore.js
1
vote
1
answer
87
views
Sitecore JSS with Vue - Json are not identical between connected and disconnected mode
In disconnected mode I have a "value" that I don't have in connected mode.
So if I need to do this:
{{ fields.items.value.length }} it's working only in disconnected mode and not after a deploy...
Di …
1
vote
1
answer
1k
views
JSS vueJs - How to include vue-meta for server rendering
JSS Tech preview 3
vueJs sample basic
I'm looking to include vue-meta for Server Rendering. … I've successfully added it for Client Rendering, but, because the tutorial to include vue-meta is very different that what we have in JSS I don't know how to include it for Server Rendering. …
0
votes
1
answer
102
views
JSS deploy vueJs - then I need to manually Unprotect Layout to add my placeholders
Currently, each time I'm doing deploying jss using
jss deploy package -c -d
I need to manually unprotect the Item of my App Layout to include my placeholders.
Any ideas how to stop this? …