After bundling, it was originally CSS-in-JS. After configuring MiniCssExtractPlugin, CSS can be extracted separately. Configuration 1. Install npm insta...
settings.json: "eslint.options": { "overrideConfig": { "env": { "browser": true, "es6": true }, "parserOptions": { "ecmaVersion": 2020, "sourceType": "m...
Step 1️: Create a Store Model // ./src/stores/todo.ts import { action, observable, computed } from 'mobx'; export interface ITodo { id: number; name: st...
const cac = require ( 'cac' ); const cli = cac . cac ( 'lininn-theme' ); cli.command('', 'Generate style file') .option('-p, --platform <platform>', 'Co...
While working on a mobile project, I used Swiper for page switching. However, the page also contains other Swiper carousels and content. When sliding th...