Giter Site home page Giter Site logo

aehyok / vue-qiankun Goto Github PK

View Code? Open in Web Editor NEW
351.0 15.0 107.0 34.8 MB

基于vite4+vue3+TypeScript+qiankun2 +pnpm+ monorepo (首页包含openai)乾坤微前端后台管理系统项目,腾讯云在线运行(封装了动态form表单和table列表、jsx(tsx)项目demo、以及leaflet地图和leaflet-geoman编辑图层)

Home Page: http://vue.tuokecat.com

JavaScript 41.05% HTML 0.27% Vue 54.03% SCSS 0.01% TypeScript 4.61% CSS 0.01% Shell 0.02%
qiankun vue3 vite2 typescript element-plus leafletjs leaflet-geoman vue hooks leaflet

vue-qiankun's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-qiankun's Issues

登陆页面接口报错

登陆页面按照默认的账号和密码登录 接口报错“未匹配到任何接口,请检查请求类型是否一致。”

error occurs while executing entry script

index.js:187 [import-html-entry]: error occurs while executing entry script http://127.0.0.1:4000/js/app.js
exec @ index.js:187
schedule @ index.js:220
schedule @ index.js:225
(anonymous) @ index.js:231
(anonymous) @ index.js:230
Promise.then (async)
_execScripts @ index.js:161
execScripts @ index.js:294
_callee17$ @ loader.js:321
tryCatch @ regeneratorRuntime.js:86
(anonymous) @ regeneratorRuntime.js:66
(anonymous) @ regeneratorRuntime.js:117
fulfilled @ tslib.es6.js:71
Promise.then (async)
step @ tslib.es6.js:73
fulfilled @ tslib.es6.js:71
Promise.then (async)
step @ tslib.es6.js:73
fulfilled @ tslib.es6.js:71
Promise.then (async)
step @ tslib.es6.js:73
fulfilled @ tslib.es6.js:71
Promise.then (async)
step @ tslib.es6.js:73
(anonymous) @ tslib.es6.js:74
__awaiter @ tslib.es6.js:70
loadApp @ loader.js:230
_callee3$ @ apis.js:77
tryCatch @ regeneratorRuntime.js:86
(anonymous) @ regeneratorRuntime.js:66
(anonymous) @ regeneratorRuntime.js:117
fulfilled @ tslib.es6.js:71
Promise.then (async)
step @ tslib.es6.js:73
(anonymous) @ tslib.es6.js:74
__awaiter @ tslib.es6.js:70
app2 @ apis.js:62
(anonymous) @ load.js:39
Promise.then (async)
(anonymous) @ load.js:38
Promise.then (async)
z @ load.js:24
(anonymous) @ reroute.js:147
(anonymous) @ reroute.js:146
Promise.then (async)
g2 @ reroute.js:94
Lt @ reroute.js:66
rt @ navigation-events.js:91
(anonymous) @ navigation-events.js:105
changeLocation @ vue-router.esm-bundler.js:541
push @ vue-router.esm-bundler.js:580
finalizeNavigation @ vue-router.esm-bundler.js:3194
(anonymous) @ vue-router.esm-bundler.js:3070
Promise.then (async)
pushWithRedirect @ vue-router.esm-bundler.js:3041
push @ vue-router.esm-bundler.js:2969
jumpChildSystem @ Home.vue:53
onClick @ Home.vue:18
callWithErrorHandling @ runtime-core.esm-bundler.js:155
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:164
invoker @ runtime-dom.esm-bundler.js:369
app-errors.js:11 Uncaught TypeError: application 'webpack-app' died in status LOADING_SOURCE_CODE: Assignment to constant variable.
at Proxy.eval (tableConfig.js?7847:164:1)
at ./src/views/tableConfig.js (app.js:5540:1)
at webpack_require (app.js:864:30)
at fn (app.js:161:20)
at Proxy.eval (Table.vue?3f0e:15:1)
at ../../node_modules/.pnpm/[email protected][email protected]/node_modules/cache-loader/dist/cjs.js?!../../node_modules/.pnpm/[email protected]_5ouqwanl7jnotevpn4w6qovjqm/node_modules/babel-loader/lib/index.js!../../node_modules/.pnpm/[email protected][email protected]/node_modules/cache-loader/dist/cjs.js?!../../node_modules/.pnpm/[email protected]_rrikhbkquxx6n2xidrow5h36l4/node_modules/vue-loader/dist/index.js?!./src/views/Table.vue?vue&type=script&lang=js (app.js:1677:1)
at webpack_require (app.js:864:30)
at fn (app.js:161:20)
at Proxy.eval (Table.vue?dd43:1:1)
at ./src/views/Table.vue?vue&type=script&lang=js (app.js:5456:1)

请教:leaflet图形编辑功能,嵌入qiankun后bug

请教大佬,
图形编辑使用leaflet-editable插件实现的,独立部署功能正常,嵌入qiankun框架后有问题
具体表现为,开启编辑,拖动节点完成后,再去拖动地图时,节点也会跟着移动
bug效果见视频

20230313_100854.mp4

后面看到了大佬的框架,编辑是用geoman实现的,试着换了一下,也会跟着移动,请问如何排查这个问题呢

package.json依赖删除问题

"@aehyok/components": "workspace:*",

作者这个依赖的作用是什么,用yarn install安装不下来,删除这个依赖可以安装下来

大佬,小白问几个问题

最近公司要做微前端,发现您这个项目是目前GitHub上能找到的最完美的项目,但是还有几个问题,没想明白

  1. 根目录下面的 common/component 里面中所有的el的组件,我看你就是直接引用的,但是我公司是用的antd的组件,我也是直接引用,
<script setup lang="ts">

</script>

<template>
  <a-button type="primary">Primary</a-button>
</template>

<style scoped>

</style>

[plugin:vite:import-analysis] Failed to resolve import "ant-design-vue/es/button/style/css" from "..\common\components\test.vue". Does the file exist?
但是antd提示我没有css,确实是没有css,但是您使用的el组件就没有提示,这是为什么呢?

  1. 我看还有 import { format } from 'date-fns' 这样直接引用的组件,但是common和webpack-app-ts 根本不在一个根目录也不报错,可以这样写吗?
  2. "common": "file:../../common"好像删了也不影响什么.........

希望大佬指点迷津

你好,问一个问题

大佬这个提示是什么问题啊

运行pnpm i 时发现的

image

pnpm 版本 7.1.3
nodejs 16.15
系统:ubuntu20.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.