Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizPlease log in to access this content. You will be redirected to the login page shortly.
LoginGeneral Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Is this how you're entire code block looks?
var app = angular.module('app', ['ui.router']);
app.config(function($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/index");
$stateProvider
.state("index", {
url: "/index",
templateUrl: "index.html"
})
.state("menu", {
url: "/menu",
templateUrl: "menu.html"
})
.state("indication_patient", {
url: "/indication_patient",
templateUrl: "indication_patient.html"
})
.state("competition", {
url: "/competition",
templateUrl: "competition.html"
})
.state("patient", {
url: "/patient",
templateUrl: "patient.html"
})
.state("athlete", {
url: "/athlete",
templateUrl: "athlete.html"
});
});
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Please log in to access this content. You will be redirected to the login page shortly.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
manpreet
Best Answer
2 years ago
I'm currently developing an application under the Ionic framework. After trying to inject a function in a state in a .js file corresponding to a page of my application, I encountered a very strange problem.
My Ionic Serve refreshed and became blank and I had this message written when I tried a new Ionic Serve command :
I already checked the Internet, I deleted my node_modules folder and did npm install after. The warning has disappeared but Ionic Serve still gives me a blank page instead of my index.html.
Here is my 'ionic info' output :
Please help me to resolve this problem, I need to finish my work for sunday. I would be very grateful and if I can help you on something else don't hesitate to ask in return