@pistachio.com/element
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

v-element

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

选择 postcss 作为组件库样式解决方案的原因

  • 轻量级(使用 JS 原生开发)
  • 插件化(nesting / 循环(each)/ mixin 等)
  • Vite 原生支持 postcss,也支持 css module

Readme

Keywords

Package Sidebar

Install

npm i @pistachio.com/element

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.29 MB

Total Files

58

Last publish

Collaborators

  • pistachio401