|
1 |
| -<<<<<<< HEAD |
2 | 1 | <p align="center">
|
3 | 2 | <a href="https://github.com/rcyj-FED/vue3-composition-admin-docs" target="_blank">
|
4 | 3 | <img width="180" src="https://github.com/rcyj-FED/vue3-composition-admin-docs/blob/main/docs/.vuepress/public/icons/android-chrome-192x192.png" alt="logo">
|
@@ -150,7 +149,7 @@ vue next 系列:
|
150 | 149 |
|
151 | 150 | ### 目录结构
|
152 | 151 |
|
153 |
| -\``` |
| 152 | +``` |
154 | 153 | admin-tmpl
|
155 | 154 | ├─ .browserslistrc
|
156 | 155 | ├─ .editorconfig
|
@@ -237,7 +236,7 @@ admin-tmpl
|
237 | 236 | ├─ vue.config.js
|
238 | 237 | └─ yarn.lock
|
239 | 238 |
|
240 |
| -\``` |
| 239 | +``` |
241 | 240 |
|
242 | 241 | ### Mock
|
243 | 242 |
|
@@ -290,136 +289,4 @@ Modern browsers and Internet Explorer 10+.
|
290 | 289 |
|
291 | 290 | [MIT](https://github.com/rcyj-FED/vue3-composition-admin/blob/main/LICENSE)
|
292 | 291 |
|
293 |
| -Copyright (c) 2021-present 人才有价 |
294 |
| -======= |
295 |
| -<p align="center"> |
296 |
| - <a href="https://github.com/rcyj-FED/vue3-composition-admin-docs" target="_blank"> |
297 |
| - <img width="180" src="https://github.com/rcyj-FED/vue3-composition-admin-docs/blob/main/docs/.vuepress/public/icons/android-chrome-192x192.png" alt="logo"> |
298 |
| - </a> |
299 |
| -</p> |
300 |
| - |
301 |
| -<p align="center"> |
302 |
| - <a href="https://github.com/vuejs/vue"> |
303 |
| - <img src="https://img.shields.io/badge/vue-3.0-brightgreen.svg" alt="vue"> |
304 |
| - </a> |
305 |
| - <a href="https://github.com/element-plus/element-plus"> |
306 |
| - <img src="https://img.shields.io/badge/element--plus-1.x-blue" alt="element-plus"> |
307 |
| - </a> |
308 |
| - <a href="https://github.com/vuejs/vuex"> |
309 |
| - <img src="https://img.shields.io/badge/vuex-4.0-brightgreen" alt="vuex"> |
310 |
| - </a> |
311 |
| - <a href="https://github.com/intlify/vue-i18n-next"> |
312 |
| - <img src="https://img.shields.io/badge/vue--i18n--next-9.0-brightgreen" alt="vue-i18n-next"> |
313 |
| - </a> |
314 |
| - <a href="https://github.com/npm/npm"> |
315 |
| - <img src="https://img.shields.io/badge/npm-6.1.8-blue" alt="npm"> |
316 |
| - </a> |
317 |
| - <a href="https://gitter.im/vue3Admin/community"> |
318 |
| - <img src="https://badges.gitter.im/Join%20Chat.svg" alt="gitter"> |
319 |
| - </a> |
320 |
| -</p> |
321 |
| - |
322 |
| -> vue3-composition-admin 是一个管理端模板解决方案,它是基于vue3,ts和element-plus,项目都是以composition api风格编写。 |
323 |
| -
|
324 |
| -## 简介 |
325 |
| - |
326 |
| -项目的基础版本出自于源于花裤衩大佬的 vue-element-admin。 |
327 |
| - |
328 |
| -版本: |
329 |
| - |
330 |
| -vue2+js版本:[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) |
331 |
| - |
332 |
| -vue2+ts版本:[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) |
333 |
| - |
334 |
| -vue3 发布之后,性能增强,速度vue2的倍数,打包体积都在减小(treeshaking),composition api 增加了项目可读性。 |
335 |
| - |
336 |
| -项目目的: |
337 |
| - - 保持技术的先进性,跟上技术发展 |
338 |
| - - 作为公司定制组件的代码demo集合 |
339 |
| - - 解决方案集合 |
340 |
| - - 统一技术标准 |
341 |
| - |
342 |
| -在线demo演示地址:https://admin-tmpl.rencaiyoujia.com/ |
343 |
| - |
344 |
| -## HighLight |
345 |
| - |
346 |
| -项目均已最新技术实现,Vue3配套升级全家桶和涉及的插件组件等 |
347 |
| - |
348 |
| -项目采用技术: |
349 |
| -- vue3 + composition api |
350 |
| -- typescript3.9 |
351 |
| -- sass (dart sass) |
352 |
| -- [echats5](https://github.com/apache/echarts) |
353 |
| - |
354 |
| -vue next 系列: |
355 |
| -- [element-plus](https://github.com/element-plus/element-plus) |
356 |
| -- [vue-router-next](https://github.com/vuejs/vue-router-next) |
357 |
| -- [vuex-4.0](https://github.com/vuejs/vuex) |
358 |
| -- [vue-vue-i18n-next](https://github.com/panter/vue-i18next) |
359 |
| - |
360 |
| - |
361 |
| -## Document |
362 |
| - |
363 |
| -- [文档地址](https://rcyj-fed.github.io/vue3-composition-admin-docs/) |
364 |
| -- [文档项目git地址](https://github.com/rcyj-FED/vue3-composition-admin-docs) |
365 |
| - |
366 |
| - |
367 |
| -## Setup |
368 |
| - |
369 |
| -项目主要是前端和mock server(node) |
370 |
| - |
371 |
| -### Mock |
372 |
| - |
373 |
| -后台模拟服务器和其他版本不同,采用koa2+Faker进行模拟。 |
374 |
| - |
375 |
| -- [Koa2](https://github.com/koajs/koa) |
376 |
| -- [Faker](https://github.com/Marak/faker.js) |
377 |
| - |
378 |
| -启动mock server: |
379 |
| - |
380 |
| -```shell |
381 |
| - "mock": "cd mock && ts-node-dev mock.ts" |
382 |
| -``` |
383 |
| - |
384 |
| -mock 需要部署到服务器,单独项目地址:https://github.com/rcyj-FED/admin-tmpl-mock |
385 |
| -mock在线测试地址:https://admin-tmpl-mock.rencaiyoujia.com/ |
386 |
| - |
387 |
| -### vue admin |
388 |
| - |
389 |
| -多环境启动: |
390 |
| - |
391 |
| -```shell |
392 |
| - "serve:dev": "cross-env NODE_ENV=development dotenv -e .env.dev.serve vue-cli-service serve", |
393 |
| - "build:dev": "cross-env NODE_ENV=production dotenv -e .env.dev.build vue-cli-service build", |
394 |
| - "serve:test": "cross-env NODE_ENV=development dotenv -e .env.test.serve vue-cli-service serve", |
395 |
| - "build:test": "cross-env NODE_ENV=production dotenv -e .env.test.build vue-cli-service build", |
396 |
| - "serve:prod": "cross-env NODE_ENV=development dotenv -e .env.prod.serve vue-cli-service serve", |
397 |
| - "build:prod": "cross-env NODE_ENV=production dotenv -e .env.prod.build vue-cli-service build", |
398 |
| -``` |
399 |
| - |
400 |
| - |
401 |
| -快捷启动(同时启动前后端): |
402 |
| - |
403 |
| -```shell |
404 |
| - "start": "concurrently \"npm run mock\" \"npm run serve:dev\"", |
405 |
| -``` |
406 |
| - |
407 |
| - |
408 |
| - |
409 |
| - |
410 |
| -## Browsers support |
411 |
| - |
412 |
| -Modern browsers and Internet Explorer 10+. |
413 |
| - |
414 |
| -| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](https://godban.github.io/browsers-support-badges/)</br>Safari | |
415 |
| -| --------- | --------- | --------- | --------- | |
416 |
| -| IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions | |
417 |
| - |
418 |
| -## License |
419 |
| - |
420 |
| -[MIT](https://github.com/rcyj-FED/vue3-composition-admin/blob/main/LICENSE) |
421 |
| - |
422 |
| -Copyright (c) 2021-present 人才有价 |
423 |
| - |
424 |
| - |
425 |
| ->>>>>>> a031f60fba491c04e2507896d0897eb03fc1da2f |
| 292 | +Copyright (c) 2021-present 人才有价 |
0 commit comments