paste the code first appModule.ts: import { BrowserModule } from @angular platform-browser ; import { NgModule } from @angular core ; import { AppComponent } from . app.component ; import { LoginComponent } from . login login.component ;...
problem description for example, on the home page of http: xxx index.html-sharp , click a link to go to the application page, but the browser s url has not changed; how to make the url also change to the corresponding route http: xxx index.html-s...
my code is as follows: Route::rule ( a _ blank, index Index a ); Route::rule ( a _ Route::rule _ type _ expression, index Index b ); I expect the first route expression to address a, and the second route expression to address b. Actually, the...
how to verify that vue routes load lazily, as mentioned in the question. according to the vue official method, I use const Foo = () = > import ( . Foo.vue ) for routing lazy loading. Although it can be used like a normal route, is there any way ...
goal: click the button to download status quo: .1 reference network implementation, there are mainly two a tag and use window.open two methods. 2.a tag and open direct access to the back-end service can be downloaded. However, direct access to the back...
when nginx configures laravel routing, it is found that "domain name index " can be accessed normally, but if you use the domain name index, it will be automatically redirected to . nginx.conf -sharpuser nobody; worker_processes 1; -s...
As soon as the project comes in, a page is loaded dynamically, but before the page is loaded, I manually switch to another page, but the original js has not been destroyed, and the code in the urlRouterProvider.when is still executing, which will cause t...
Display Author create form on GET. exports.author_create_get = function(req, res) { res.send( NOT IMPLEMENTED: Author create GET ); }; Handle Author create on POST. exports.author_create_post = function(req, res) { res.send( NOT IMPLEME...
how do Vue projects built with Nuxt.js share header and footer files? only files with section contents are placed in the page directory. Navigation bars and footers and every time you jump to a new route, navigation doesn t have to be reloaded. Gods, ...