@feugene/granularity-code
Code on the page: viewing, editing and diff. The viewer and the diff carry no dependencies at all; the editor asks for CodeMirror only if you take the editor.
- version
0.1.0on npm0.1.1- Public subpaths
- 12
- Components
- 3
- Runtime dependencies
- 0
0.1.0 at the submodule tag, 0.1.1 on npm already. The portal shows the former: every page here is built from it.
How the package describes itself on npm: Code surfaces for @feugene/granularity: view, edit and diff — the viewer and the diff carry no dependencies at all.
Installation
The command installs the package and its required peer dependencies: the library does not bring them, because your application already has them.
npm i @feugene/granularity-code @feugene/granularity @feugene/unocss-preset-granular vuepnpm add @feugene/granularity-code @feugene/granularity @feugene/unocss-preset-granular vueyarn add @feugene/granularity-code @feugene/granularity @feugene/unocss-preset-granular vuebun add @feugene/granularity-code @feugene/granularity @feugene/unocss-preset-granular vueOptional peer dependencies
Declared optional: they are needed only by the part of the package that uses them. Your package manager will not remind you about them.
@feugene/unplugin-granularityunplugin-vue-components@feugene/fint-i18n@codemirror/state@codemirror/view@codemirror/language@codemirror/commands
What is inside
The manifest declares 12 entry points — importing through them is what keeps the bundle free of what you did not use.
No runtime dependencies: only the code of the package itself reaches your application.
Components
Package documentation
Written in the library repository. The portal links to it rather than retelling it.
Links
The npm pageSources in the repositoryChangelogThe licence, one for the whole family