Storybook for Angular project.
-
Install the dependencies.
Navigate into your new siteβs directory and install the necessary dependencies.
cd ~/path/to/angular-storybook && npm install
-
Open the source code and start editing
Start developing components under the
src/stories
directory. -
Browse your stories
Run
npm run storybook
to see your component's stories athttp://localhost:6006
.
.
βββ .storybook
βββ node_modules
βββ src
βββ .editorconfig
βββ .gitignore
βββ angular.json
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ tsconfig.app.json
βββ tsconfig.json
βββ tsconfig.spec.json
βββ tslint.json
βββ README.md
-
.storybook
: This directory contains Storybook's configuration files. -
node_modules
: This directory contains all of the modules of code that your project depends on (npm packages). -
src
: This directory will contain all of the code related to what you will see on your application. -
.editorconfig
: This file contains the configurations for EditorConfig. -
.gitignore
: This file tells git which files it should not track or maintain during the development process of your project. -
angular.json
: This file contains all the configurations required for your Angular project. -
LICENSE
: The template is licensed under the MIT licence. -
package-lock.json
: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually). -
package.json
: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project. -
tsconfig.app.json
: This file contains auxiliary configurations for your Angular project. -
tsconfig.json
: This file contains configurations the required configurations for TypeScript. -
tsconfig.spec.json
: This is a TypeScript configuration file aimed for application testing.