taro 端的持久化引擎。彻底解决经典的 没有找到页面实例
问题 NervJS/taro#6548
# npm
npm install foca-taro-storage
# yarn
yarn add foca-taro-storage
# pnpm
pnpm add foca-taro-storage
import { store } from 'foca';
import { taroStorage } from 'foca-taro-storage';
store.init({
persist: [
{
key: 'my-project',
version: '1',
engine: taroStorage,
models: [],
},
],
});