# FIRST-VUE **Repository Path**: xuyy19/first-vue ## Basic Information - **Project Name**: FIRST-VUE - **Description**: vue项目学习 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-27 - **Last Updated**: 2024-03-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # first-vue ## 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/). ### vue.config.js配置文件 ``` 使用vue inspect > output.js可以查看到Vue脚手架的默认配置 使用vue.config.js可以对脚手架进行个性化定制,详情见:See [Configuration Reference](https://cli.vuejs.org/zh/config/#lintonsave). ``` ### ref属性 ``` 一:被用来给元素或子组件注册引用信息(id的替代者) 二:应用在html标签上获取的是真实DOM元素,应用在组件标签上是组件实例对象(vc) 三:使用方式: 打标识: