You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- VitePress for documentation, with optional GitHub Pages deployment
46
+
- Project uses a `packages` directory, similar to [Vue core](https://github.com/vuejs/core), [Vue Router](https://github.com/vuejs/router) and [Pinia](https://github.com/vuejs/pinia)
47
+
-[VitePress](https://vitepress.dev/) for documentation, with optional [GitHub Pages](https://pages.github.com/) deployment
46
48
- A playground application to use for development
47
-
- ESLint and ESLint Stylistic
49
+
-[ESLint](https://eslint.org/), [ESLint Stylistic](https://eslint.style/) and [lint-staged](https://github.com/lint-staged/lint-staged)
50
+
-[Vitest](https://vitest.dev/) for testing
48
51
49
52
The new project doesn't have any dependencies on special packages. It mostly uses the same dependencies as the official `create-vue` scaffolding tool, plus some widely used packages such as VitePress and ESLint Stylistic. In particular, there aren't any dependencies that tie you to the scaffolding tool.
50
53
51
54
Currently unsupported (you'd need to configure them yourself):
52
55
53
56
- JSX/TSX
54
57
- Prettier
55
-
- Other Vue libraries, such as Vue Router or Pinia
58
+
- Other Vue libraries, such as VueUse, Vue Router and Pinia
56
59
- E2E testing
60
+
61
+
## Prerequisites
62
+
63
+
Developing libraries to publish to npm is tricky. There is some inherent complexity to publishing packages that can't be avoided, and you're unlikely to succeed if you don't have prior experience of working with Vue, Vite and the wider ecosystem.
64
+
65
+
Both the scaffolding tool and this documentation assume that you are already comfortable working with standard Vue tooling. Previous experience of publishing packages is not required, but this documentation will only focus on aspects relevant to projects created with this scaffolding tool, it is not a general-purpose guide to building and publishing packages.
66
+
67
+
This scaffolding tool aims to make it easier to get started, but it doesn't completely remove the need to study the build tools you're using and learn what they can do.
68
+
69
+
Each library has different requirements, and you'll likely need to make changes to the project created by this tool.
0 commit comments