• Piotr Gajek 19
  • NEWBIE
  • 5 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi guys,

i'm new to salesforce and my main front end development is mainly Angular. 

I am trying to create a lightning web component and which will load/display different components based on user input (clicks). I thought, i will try to do this in SPA instead of if/hide.

I came across library called Navigo and I'm trying to import this library in my component (SFDX project) but it is failing with following error:

Invalid reference navigo of type module in file appContainer.js

i have added dev dependencies navigo:

  "devDependencies": {
    "@prettier/plugin-xml": "^0.7.0",
    "@salesforce/eslint-config-lwc": "^0.4.0",
    "@salesforce/sfdx-lwc-jest": "^0.7.0",
    "eslint": "^5.16.0",
    "prettier": "^1.19.1",
    "prettier-plugin-apex": "^1.0.0",
    "navigo": "^7.1.2"
  }

is it possible to create SPA in Salesforce using LWC?

thanks,
Asad
Hello, I need to create a country state dependent picklist in my visualforce page.
I want to Default State and Country/Territory Picklists. I am able to get values of both country and state as suggested here.
But they Are not dependent Enough.
How to make them Dependent.? or should i my own object.