仲灏小栈 仲灏小栈
首页
大前端
后端&运维
其他技术
生活
关于我
收藏
  • 分类
  • 标签
  • 归档
GitHub (opens new window)

仲灏

诚意, 正心, 格物, 致知
首页
大前端
后端&运维
其他技术
生活
关于我
收藏
  • 分类
  • 标签
  • 归档
GitHub (opens new window)
  • 《前端项目基础建设》
  • HTML&CSS

  • JavaScript&TypeScript

  • Node

    • nvm 使用
    • nvm 深度使用解析
    • pnpm 学习
    • pnpm 使用及问题处理
    • npm yarn pnpm命令对比
    • koa学习
    • restful api笔记
    • Egg.js 技巧
    • Sequelize 学习笔记
    • npm 使用记录
    • node 记错修复
    • npm 仓库
    • 安装npm的过程中发生了什么
    • 想用而找不到的 npm 插件
    • node全局脚本原理解析
    • 转-commander
    • 制作自己的npm包
    • lerna
    • lerna - Lerna an Nx
    • lerna - 功能点
    • lerna API参考
    • Egg.js 技巧 问题集合
    • Node+vue打造全栈资源分享网站
      • 技术选型:
        • 前端
        • 服务端
      • 所以环境及软件
        • 环境
        • 设计软件
        • 编辑器
      • 产品设计
      • 前端 展示页面
      • 前端 中后台
      • 后端
    • 脚手架核心流程开发
    • Untitled
  • 构建

  • Vue

  • React

  • 小程序

  • 跨端

  • Electron

  • WebGL&GIS

  • 浏览器

  • 面经

  • 其他

  • 大前端
  • Node
仲灏
2023-09-17
目录

Node+vue打造全栈资源分享网站

# 技术选型:

# 前端

  • Vue全家桶
  • 基于 panjiacheng 的项目 vue-element-admin项目打造
  • 开发者会 html, css, js, vue就行

# 服务端

  • Node (不要小瞧js写服务端的能力)
  • 基于蚂蚁金服的 Egg.js 企业级框架
  • 开发者了解 node 生态 及 koa框架大致原理就可

# 所以环境及软件

# 环境

  • node.js 环境安装 详细请Google一下 随便搜了偏文章 (opens new window)
  • cnpm全局安装淘宝镜像, 避免某些插件被墙

# 设计软件

widows 使用 axure , mac sketch

# 编辑器

  • 只推荐 vscode编辑器

  • 在安装相应插件ctrl+shift+x

  • Chinese (Simplified) Language Pack for Visual Studio Code

  • Vetur, Vue2 Snippets

  • Path Intellisense, JavaScript (ES6) code snippets, HTML Snippets, HTML CSS Support , Highlight Matching Tag, ESLint, Beautify, Auto Rename Tag, Auto Close Tag

  • 配置编辑器自动保存格式化 ctrl + ,或者编辑img

{
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatter.js": "vscode-typ=script",
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_attributes": "auto"
        },
        "prettyhtml": {
            "printWidth": 100,
            "singleQuote": false,
            "wrapAttributes": false,
            "sortAttributes": false
        }
    },
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "git.autofetch": true,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true,
    },
    "search.exclude": { //配置在搜索中排除的文件和文件夹的 glob 模式。已经继承 #files.exclude# 设置的所有 glob 模式。可在此处阅读有关 glob 模式的详细信息。
        "**/node_modules": true,
        "**/bower_components": true,
        "**/dist": true
    },
    // "eslint.autoFixOnSave": true, //开启或关闭“自动修复”功能。
    "eslint.options": { //eslint options对象,提供从命令行执行时通常传递给eslint的arg
        "extensions": [
            ".js",
            ".vue"
        ]
    },
    "eslint.validate": [ //应该由ESLint验证的语言数组
        "javascript",
        {
            "language": "vue",
            "autoFix": true
        },
        "html",
        "vue"
    ],
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

# 产品设计

window 使用 axure 毫无疑问的

img

resource.rp (opens new window)

# 前端 展示页面

会html css js 就不扯了

# 前端 中后台

github 搜一下 vue-element-admin clone下来就好了

# 后端

初始化egg.js项目

看文档 (opens new window)

上次更新: 2023/09/17, 20:06:58
Egg.js 技巧 问题集合
脚手架核心流程开发

← Egg.js 技巧 问题集合 脚手架核心流程开发→

最近更新
01
vim日常使用记录
04-02
02
滑动窗口最大值
04-02
03
有效的字母异位词
04-02
更多文章>
Theme by Vdoing | Copyright © 2021-2025 izhaong | github | 蜀ICP备2021031194号
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式