src
|__ api: API相关配置
|__ assets:静态资源(图片等)
|__ components: 组件
|__ composables: element plus的暗黑模式的导入(项目模板自带)
|__ router: vue-router的路由配置
|__ styles: 通用css / scss集合
|__ views:页面
|__ Buyer: 买家页面
|__ Details: 商品 / 商店详情页(通用)
|__ Seller: 卖家页面
A starter kit for Element Plus with Vite
This is an example of on-demand element-plus with unplugin-vue-components.
If you want to import all, it may be so simple that no examples are needed. Just follow quickstart | Docs and import them.
If you just want an on-demand import example manually
, you can check unplugin-element-plus/examples/vite.
npm install
npm run dev
npm run build
git clone https://github.com/element-plus/element-plus-vite-starter
cd element-plus-vite-starter
npm i
npm run dev
See src/styles/element/index.scss
.