Skip to content

About

React hooks and components shared by ShapeDiver App Builder and other projects.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

1,171 Commits

Folders and files

Repository files navigation

AppBuilderShared

React hooks and components shared by ShapeDiver App Builder and other projects. This might eventually become an npm package.

Set @AppBuilderShared and @AppBuilderLib aliases for the package directory. Both must resolve to the same root: internals use @AppBuilderLib/ (feature-sliced design), while some modules still import @AppBuilderShared/.

e.g. {librarypath} = src/shared

Vite (vite.config.ts)
{
  resolve: {
    alias: {
      "@AppBuilderShared": path.resolve(__dirname, "./{librarypath}"),
      "@AppBuilderLib": path.resolve(__dirname, "./{librarypath}"),
    },
  },
}
Typescript (tsconfig.json)
{
	"compilerOptions": {
		"baseUrl": ".",
		"paths": {
			"@AppBuilderShared/*": ["./{librarypath}/*"],
			"@AppBuilderLib/*": ["./{librarypath}/*"]
		}
	}
}

About

React hooks and components shared by ShapeDiver App Builder and other projects.

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages