in

Uni Localization demo for Vue.js 3.x


Check out demo here

Check out our docs here

Add to vue.config.js

module.exports = {
    ...,
    chainWebpack: (config) => {
        config.module
            .rule("vue")
            .use("vue-loader")
            .tap((options) => ({
                ...options,
                compilerOptions: {
                    ...options.compilerOptions,
                    // treat any tag that starts with uni- as custom elements
                    isCustomElement: (tag) => tag.startsWith("uni-"),
                },
            }));
    },
    ...
};

Place Uni Language Menu into the header of your web app. Specify the path to the language list JSON file (ex. lang-menu.json) or backend API endpoint

<uni-router shadow></uni-router>
<uni-lang-menu-shadow mini round routing list="lang-menu.json"></uni-lang-menu-shadow>

Android 12 (Go edition) brings UI redesign, faster app launch, guest access, & more in 2022 thumbnail

Android 12 (Go edition) brings UI redesign, faster app launch, guest access, & more in 2022

A Golang Middleware to handle X-Forwarded-For Header