starplatinum3 / vue3-zhihu-ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue3-zhihu-ts2

图片 https://acc15t4bm5.feishu.cn/docs/doccnunkprCV2dRpleaGfAVyAyc

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

slot attributes are deprecated

ESLint: 'v-slot' directive must be owned by a custom element, but 'div' is not. (vue/valid-v-slot). ESLint: Named slots must use '<template>' on a custom element. (vue/valid-v-slot).

v-slot:header

vant 搜索

.content{ width: @content_width; }

cnpm i vant --save

Customize configuration

See Configuration Reference.

Module not found: Error: Can't resolve 'less-loader'

cnpm install --save-dev less-loader less

TypeError: Cannot read property '__vccOpts' of undefined

About

License:MIT License


Languages

Language:Vue 84.2%Language:JavaScript 11.7%Language:Stylus 1.8%Language:TypeScript 1.5%Language:CSS 0.4%Language:HTML 0.3%Language:Less 0.0%