【全栈开发实战小草看书之Web端(二)创建项目】

全栈开发实战小草看书之Web端(二)创建项目

创建项目

yarn create vite lgw --template vue
cd lgw

yarn add axios element-plus @element-plus/icons-vue screenfull@^5.2.0 vue-router@next vuex@next vuex-persistedstate
yarn add -D less

yarn
yarn dev

项目结构

|-- lgw
    |-- .vscode
    |   |-- launch.json
    |-- public
    |   |-- favicon.ico
    |-- src
    |   |-- App.vue
    |   |-- main.js
    |   |-- assets
    |   |   |-- images
    |   |   |   |-- logo.png
    |   |   |-- styles
    |   |       |-- index.less
    |   |-- crud
    |   |   |-- index.js
    |   |-- http
    |   |   |-- index.js
    |   |-- pages
    |   |   |-- home
    |   |   |   |-- Dashboard.vue
    |   |   |   |-- Index.vue
    |   |   |   |-- Login.vue
    |   |   |-- lg
    |   |   |   |-- book
    |   |   |   |   |-- Edit.vue
    |   |   |   |   |-- Grab.vue
    |   |   |   |   |-- Index.vue
    |   |   |   |-- chapter
    |   |   |   |   |-- Edit.vue
    |   |   |   |   |-- Index.vue
    |   |   |   |-- feedback
    |   |   |   |   |-- Edit.vue
    |   |   |   |   |-- Index.vue
    |   |   |   |-- site
    |   |   |       |-- Edit.vue
    |   |   |       |-- Index.vue
    |   |   |-- sys
    |   |       |-- company
    |   |       |   |-- Edit.vue
    |   |       |   |-- Index.vue
    |   |       |-- dict
    |   |       |   |-- Edit.vue
    |   |       |   |-- Index.vue
    |   |       |-- resource
    |   |       |   |-- Index.vue
    |   |       |-- role
    |   |       |   |-- Edit.vue
    |   |       |   |-- Index.vue
    |   |       |   |-- RoleResource.vue
    |   |       |-- user
    |   |           |-- Edit.vue
    |   |           |-- Index.vue
    |   |           |-- UserRole.vue
    |   |-- router
    |   |   |-- index.js
    |   |-- store
    |       |-- index.js
    |-- .env.development
    |-- .env.production
    |-- .gitignore
    |-- directoryList.md
    |-- index.html
    |-- LICENSE
    |-- package.json
    |-- README.md
    |-- vite.config.js
    |-- yarn.lock

上一章 【全栈开发实战小草看书之Web端(一)开发环境】
下一章 【全栈开发实战小草看书之Web端(三)配置文件】

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值