on ‎2020 Feb 26 10:18 AM
I am trying to setup Spartacus store in my local using commerce cloud 1905, npm 1.4.3, node v12.14.1 and Angular cli.
All the setups are done and on hitting the url "localhost:4002" I am getting an empty page in my browser.No errors in the logs also.
Please note I am not using yarn. Can you please help me
Request clarification before answering.
Make sure you are configured your app by providing a baseUrl in your app.modules.ts. Here is an example using our demo server:
@NgModule({
declarations: [AppComponent],
imports: [
...
B2cStorefrontModule.withConfig({
backend: {
occ: {
baseUrl:
'https://storefront.c39j2-walkersde1-d4-public.model-t.cc.commerce.ondemand.com',
},
},
context: {
urlParameters: ['baseSite', 'language', 'currency'],
baseSite: ['electronics-spa'],
},
....see more : Documentation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.