Coder Social home page Coder Social logo

Comments (9)

vanessasoutoc avatar vanessasoutoc commented on July 23, 2024

Path page caused the error.
Solved!! Thank

from ionic-super-tabs.

MikePaer avatar MikePaer commented on July 23, 2024

@vanessasoutoc, can you elaborate on this? What is "path page" and what caused the error? Thanks.

from ionic-super-tabs.

vanessasoutoc avatar vanessasoutoc commented on July 23, 2024

@MikePaer path of view page!

from ionic-super-tabs.

LuukPrins avatar LuukPrins commented on July 23, 2024

Can you probably write down the specific path and how you changed it?

from ionic-super-tabs.

webdesignsbymike avatar webdesignsbymike commented on July 23, 2024

added '/' before the path name

before

{ path: 'dashboard', component: DashboardComponent },

after:

 { path: '/dashboard', component: DashboardComponent },

from ionic-super-tabs.

vivekpratapsingh avatar vivekpratapsingh commented on July 23, 2024

@webdesignsbymike I am getting 'path can not start with /'

from ionic-super-tabs.

annuranjan avatar annuranjan commented on July 23, 2024

Not working for me too. Can anyone provide us the solution for this?

from ionic-super-tabs.

CR7LOVE avatar CR7LOVE commented on July 23, 2024

@vivekpratapsingh I also getting 'path cannot start with a slash'. Have you solved this problem?

from ionic-super-tabs.

CR7LOVE avatar CR7LOVE commented on July 23, 2024

I solved this problem by adding a module for the page.
Before:
I do not import a module for a page.In app.module, I declare the page in 'declarations'.
After:
I import a module for every page. In app.module, I declare the module in 'imports'.
In app.routing.module,I do not use lazy loading, like this:
{ path: 'chart', component: ChartPage }

from ionic-super-tabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.