import{ createRouter }from'/nf-press-edit'// 设置 axios 的 baseUrlconstbaseUrl = (document.location.host.includes('.gitee.io')) ?'/nf-press-edit/':'/'exportdefaultcreateRouter({ baseUrl,components: {testComponent:() =>import('../components/testCode.vue'),testComponent2:() =>import(...
在线编写帮助文档nfpress.gitee.io/nf-press-edit/ 加载组件、运行组件 Vue提供了一个可以动态加载组件的组件,component 和 defineAsyncComponent,我们可以用其实现我们想要的效果。 注册组件 我们可以参考动态路由的设置方式来注册组件: import { createRouter } from '/nf-press-edit' // 设置 axios 的 base...
import { createRouter } from '/nf-press-edit' // 设置 axios 的 baseUrl const baseUrl = (document.location.host.includes('.gitee.io')) ? '/nf-press-edit/' : '/' export default createRouter({ baseUrl, components: { testComponent: () => import('../components/testCode.vue'), test...
帮助文档/nf-press-edit_帮助文档的管理平台 代码 Issues 5 Pull Requests 0 Wiki 统计 流水线 服务 发行版 Releases Releases 功能基于仓库中的历史标记 建议使用类似 V1.0 的版本标记作为 Releases 点。支付提示 将跳转至支付宝完成支付 确定 取消 捐赠 捐赠前请先登录 取消 前往登录 登录提示 该...
"module": "./dist/nf-press-edit.es.js", "exports": { ".": { "import": "./dist/nf-press-edit.es.js", "require": "./dist/nf-press-edit.es.js" } }, "private": false, "license": "MIT", "auther": "jin yang (jyk). Email: jyk0013@163.com", ...
forked from帮助文档/nf-press-edit_帮助文档的管理平台 确定同步? 同步操作将从帮助文档/nf-press-edit_帮助文档的管理平台强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!! 确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
"@naturefw/nf-tool@^0.1.0": version "0.1.0" resolved "https://registry.npmmirror.com/@naturefw/nf-tool/-/nf-tool-0.1.0.tgz#5f200bdcd2b6564722cfb6f78ce4fc5a63c02d0b" integrity sha512-f79DK6CSzvUG6aKpZqr5r24kc8GowF/T84/OE6PP9qZ04swL/s6sfqvCCTCDstiiol+HMuJpLHQfDfp...
Get the latest insights on Millennial Potash Corp (MLPNF) with press releases and corporate news to help you in your trading and investing decisions.
Get the latest insights on Omron Corporation (OMRNF) with press releases and corporate news to help you in your trading and investing decisions.
源码:https://gitee.com/nfpress/nf-press-edit 两个状态:编辑和浏览 一开始做了两个项目,分别实现编辑文档和显示文档的功能,但是后来发现,内部代码大部分是相同的,维护的时候有点麻烦,所以改为在编辑文档的项目里加入“浏览”的状态,然后设置切换的功能,这样便于内部代码的维护,以后成熟了可能会分为两个单独的项...