- Klon prosjektet
npm install
npm run dev
npm run storybook
npx create-react-app .
- https://facebook.github.io/create-react-app/docs/getting-started
npx -p @storybook/cli sb init --type react
- https://storybook.js.org/docs/guides/guide-react/
npm install --save styled-components
- https://www.styled-components.com/docs/basics#installation
react starter ikke pga dependencies
To fix the dependency tree, try following the steps below in the exact order:
- Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
- Delete node_modules in your project folder.
- Remove "babel-loader" from dependencies and/or devDependencies in the package.json file in your project folder.
- Run npm install or yarn, depending on the package manager you use.