# ibodao-client **Repository Path**: shanbai11/ibodao-client ## Basic Information - **Project Name**: ibodao-client - **Description**: 基于vue-cli搭建的大型项目框架 element-ui,vue,vue-router,vuex等。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2018-07-19 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ibodao-client > A Vue.js project ## Build Setup ``` bash npm install -g @vue/cli npm install -g @vue/cli-init vue init webpack my-vue # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run unit tests npm run unit # run all tests npm test # sass npm install node-sass --save-dev npm install sass-loader --save-dev # webpack.base.config.js在loaders里面加上 # { # test: /\.scss$/, # loaders: ["style", "css", "sass"] # }, # sass全局配置 npm install sass-resources-loader --save-dev # 修改build/utils.js # scss: generateLoaders('sass').concat( # { # loader: 'sass-resources-loader', # options: { # resources: path.resolve(__dirname, '../src/assets/your.scss') # } # } # ) # 引入全局icon icon .fontFamily-> [class^="el-icon-c"],[class *=" el-icon-c"] #vuex npm install --save vuex ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).