This is a vue3 components playground use vite.
If you are using vue2 you can use litter bother vue-general-components
npm run dev
Use vite-plugin-vuedoc to change markdown to vue , Tailwind for site css framework.
this framework is still not the best.
npm run build
npm run build:all
Use rollup-plugin-vue , rollup-plugin-esbuild build vue components.
I used tailwindcss on the project, and you can follow its component development scenario to develop the components。Its Utility-First principle can help us to normalize the style code. If you find three duplicates of the style you have written, you can extract the utility classes. see utility classes
more detail check doc css-utility-classes-and-separation-of-concerns
Style writing specification:
- Utility-First
- Dark mode
- Responsive Design
More design specifications can be found at: https://tailwindcss.com/
TODO: write tailwindcss plugins with style, and the vscode plugin
Components have a certain degree of generality, in the design of components need to consider similar general rules and configuration to the global. For example, support default support different component size, support text text-direction, and so on.
- Product
- vite2
- github action
- netlify
- add core concepts
- add test
- practice
more detail see my blog
MIT © xxholly32 (xiangxiao)