pe-components
| Install | |
|---|---|
npm install pe-components |
|
| Latest Version: | 0.10.0 |
| Vue: | 2 |
| Last Updated: | Jul 7, 2022 |
| Links: | GitHub · npm |
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.
Related Packages
Advanced and highly reusable Mobile UI Components built on Vue2 & You can define...
Vite plugin that generates VERSION and COMMITHASH files during build based on a...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.10.0 | ^2.7.8 | ||
| 0.9.3 | ^2.7.8 | ||
| 0.9.1 | ^2.7.8 | ||
| 0.9.0 | ^2.7.8 | ||
| 0.8.33 | ^2.7.8 | ||
| 0.8.32 | ^2.7.8 | ||
| 0.8.31 | ^2.7.8 | ||
| 0.8.30 | ^2.7.8 | ||
| 0.8.27 | ^2.7.8 | ||
| 0.8.26 | ^2.7.8 | ||
| 0.8.25 | ^2.7.8 | ||
| 0.8.24 | ^2.7.8 | ||
| 0.8.23 | ^2.7.8 | ||
| 0.8.22 | ^2.7.8 | ||
| 0.8.21 | ^2.7.8 | ||
| 0.8.20 | ^2.7.8 | ||
| 0.8.19 | ^2.7.8 | ||
| 0.8.18 | ^2.7.8 | ||
| 0.8.17 | ^2.7.8 | ||
| 0.8.16 | ^2.7.8 | ||
| 0.8.15 | ^2.7.8 | ||
| 0.8.14 | ^2.7.8 | ||
| 0.8.13 | ^2.7.8 | ||
| 0.8.10 | ^2.7.8 | ||
| 0.8.9 | ^2.6.11 | ||
| 0.8.8 | ^2.6.11 | ||
| 0.8.7 | ^2.6.11 | ||
| 0.8.6 | ^2.6.11 | ||
| 0.8.5 | ^2.6.11 | ||
| 0.8.4 | ^2.6.11 |
Showing the latest 30 of 36. See every release on npm