Programmatic and Declarative Navigation in Vue with Element UI
Installing Vue Router
First, add Vue Router to your project using npm or yarn:
npm install vue-router
# or
yarn add vue-router
Router Configuration
Create a router directory under src and define your routes in index.js:
// src/router/index.js
import Vue from 'vue'
import VueRouter from 'vue-router'
import Dashboard from '@/components/Dashboar ...
Posted on Fri, 29 May 2026 22:23:55 +0000 by everlifefree
Building a Dynamic Dropdown Navigation Bar with CSS and jQuery
A multi-level navigation bar is a fundamental component of modern web design, allowing for organized access to various site sections. This implementation uses a combination of structured HTML, flexbox-based CSS, and jQuery to create a functional dropdown menu.
1. HTML Structure
The navigation bar is built using nested unordered lists. The top-l ...
Posted on Sat, 23 May 2026 23:24:55 +0000 by coellen
Implementing UIAbility Navigation in HarmonyOS Applications
Obtaining UIAbility Context
In HarmonyOS development, you can retrieve the current ability's context directly within EntryAbility, or obtain the UIAbility instance information from any Page component.
Configuring Want Parameters
The Want object contains several configuration parameters. The two essential parameters are:
bundleName: The target ...
Posted on Mon, 18 May 2026 09:50:53 +0000 by *Lynette
Implementing Navigation and Tab Layout in HarmonyOS
Router Configuration
Add the router map reference in module.json5:
"routerMap": "$profile:route_map"
Route Map Definition
Create route_map.json in resources/base/profile/:
{
"routerMap": [
{
"name": "LaunchScreen",
"pageSourceFile": "src/main/ets/components/Laun ...
Posted on Sun, 10 May 2026 06:57:57 +0000 by silversinner