# vue2-sample **Repository Path**: hadoobing/vue2-sample ## Basic Information - **Project Name**: vue2-sample - **Description**: 学习vue2 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-23 - **Last Updated**: 2025-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue2-sample ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 使用sass 预编译css ### 1.安装 npm i sass sass-loader -D ### 2.使用 在style标签上添加 lang="sass" 或者 lang="scss" css嵌套 ```css .outer { width: 100px; height: 100px; background: skyblue; .inner { color: orange; } } ```