![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
hundun-pc-platform
Advanced tools
当前组件库发布在私有仓库中,仓库地址: http://10.43.219.188:4873/
// 设置仓库地址
npm config set registry http://10.43.219.188:4873
npm install --save hundun-pc-platform
// 获取当前得项目id和编码
import { moduleId , moduleCode} from '@/cofnig/website'
// 导入组件库
import hundunPcPlatform from 'hundun-pc-platform'
// 导入样式
import 'hundun-pc-platform/packages/style/index.scss';
// 注册组件库
Vue.use(hundunPcPlatform , {moduleId: moduleId , moduleCode: moduleCode})
// 获取项目得初始入口App页面
import { App } from 'hundun-pc-platform';
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
import Vue from 'vue';
import axios from './router/axios';
import VueAxios from 'vue-axios';
import { App } from 'hundun-pc-platform';
import router from './router/router';
import './permission'; // 权限
import './error'; // 日志
import store from './store';
import VueCookie from "vue-cookie";
import './echarts/index'
// 加载内部组件
import "@/components/index"
Vue.prototype.website = website;
Vue.config.productionTip = false;
Vue.use(VueCookie)
Vue.use(VueAxios, axios)
// 配置axios
// 其中axios为当前前端项目配置好的axios封装,后续将使用当前项目的axios进行组件内部的http请求
window.http = axios
import 'hundun-pc-platform/packages/style/index.scss';
import Hundunlayout from 'hundun-pc-platform'
Vue.use(Hundunlayout , {moduleId: website.moduleId , moduleCode: website.moduleCode})
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
vuex默认需要集成组件得vuex 文件: store/index.js
import Vue from 'vue'
import Vuex from 'vuex'
import defaultStore from 'hundun-pc-platform/packages/store/index.js'
Vue.use(Vuex)
const store = new Vuex.Store(defaultStore)
export default store
FAQs
hundun-pc-platform
The npm package hundun-pc-platform receives a total of 1 weekly downloads. As such, hundun-pc-platform popularity was classified as not popular.
We found that hundun-pc-platform demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.