0.10.0 • Published 2 years ago

pe-components v0.10.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

pe-components-template

This template to started developing Vue 2 library component in Vite, Storybook, Tailwind and Sass.

Recommended IDE Setup

VSCode Volar (and disable Vetur). Tailwind CSS IntelliSense Stylelint

.vscode/settings.json

{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "css.validate": false,
  "scss.validate": false,
  "editor.tabSize": 2,
  "editor.insertSpaces": true,
  "files.encoding": "utf8",
  "files.eol": "\r\n",
  "diffEditor.ignoreTrimWhitespace": false,
  "files.insertFinalNewline": true,
  "[mdx]": {
    "files.insertFinalNewline": false
  }
}

Customize configuration

See Vite Configuration Reference.

Project Setup and run

npm install
npm run storybook

Type-Check, Compile and Minify for Production

npm build

Type Support for .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.

However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can run Volar: Switch TS Plugin on/off from VSCode command palette.

0.10.0

2 years ago

0.9.3

2 years ago

0.9.1

2 years ago

0.9.0

2 years ago

0.8.33

2 years ago

0.8.32

2 years ago

0.8.31

2 years ago

0.8.30

2 years ago

0.8.23

2 years ago

0.8.27

2 years ago

0.8.26

2 years ago

0.8.25

2 years ago

0.8.24

2 years ago

0.8.22

2 years ago

0.8.21

2 years ago

0.8.20

2 years ago

0.8.19

2 years ago

0.8.18

2 years ago

0.8.17

2 years ago

0.8.16

2 years ago

0.8.15

2 years ago

0.8.14

2 years ago

0.8.13

2 years ago

0.8.10

2 years ago

0.8.9

2 years ago

0.8.8

2 years ago

0.8.7

2 years ago

0.8.6

2 years ago

0.8.5

2 years ago

0.8.4

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.8.1

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.2

2 years ago