0.0.32 • Published 3 years ago
@michaelpumo/components-vue v0.0.32
Features
- ⚡️ Built with Vite to be super fast: https://vitejs.dev
- 🧪 Unit testing with Vitest and Vue Test Utils: https://vitest.dev
- ⚙️ ESLint, Prettier and TypeScript.
- 🤣 Uses NPM.
Commands
# Install dependencies
$ npm install
# Serve with hot reload at localhost:3000
$ npm run dev
# Unit test components
$ npm run test
# Build library for SSR (Nuxt consumption)
$ npm run build
# Publish to NPM (requires login / 2FA)
$ npm publish
Use the library in Nuxt projects
# Install dependency with filthy yarn (will be @greggs at some point)
$ yarn add @michaelpumo/components-vue
Then import whatever component has been integrated into the library (at this time of writing, it's simply the <Image />
component for a proof of concept).
# Use 'as' to keep inline with current codebase (if needed)
import { Image as ImageService } from '@michaelpumo/components-vue'
More to come / to do...
- Integrate additional components from the existing corporate site.
- Add Storybook into the library site for easy visual testing and preview: https://storybook.js.org
- How to handle Tailwind config / Pinia store from the library?
0.0.25
3 years ago
0.0.30
3 years ago
0.0.31
3 years ago
0.0.32
3 years ago
0.0.26
3 years ago
0.0.28
3 years ago
0.0.29
3 years ago
0.0.24
3 years ago
0.0.23
3 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.12
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago