Skip to content

Commit def714d

Browse files
committed
vitejs base project setup with build added
1 parent bea8312 commit def714d

File tree

111 files changed

+15839
-42249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+15839
-42249
lines changed

.github/workflows/storybook.yml

-30
This file was deleted.

.gitignore

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
7-
8-
# testing
9-
/coverage
10-
11-
# production
12-
/build
13-
14-
# misc
15-
.DS_Store
16-
.env.local
17-
.env.development.local
18-
.env.test.local
19-
.env.production.local
20-
1+
# Logs
2+
logs
3+
*.log
214
npm-debug.log*
225
yarn-debug.log*
236
yarn-error.log*
24-
docs-build/*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.storybook/main.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
import type { StorybookConfig } from "@storybook/react-webpack5";
1+
import type { StorybookConfig } from "@storybook/html-vite";
22

33
const config: StorybookConfig = {
44
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
55
addons: [
66
"@storybook/addon-links",
77
"@storybook/addon-essentials",
8-
"@storybook/preset-create-react-app",
9-
"@storybook/addon-onboarding",
108
"@storybook/addon-interactions",
119
],
1210
framework: {
13-
name: "@storybook/react-webpack5",
11+
name: "@storybook/html-vite",
1412
options: {},
1513
},
1614
docs: {
1715
autodocs: "tag",
1816
},
19-
staticDirs: ["../public"],
2017
};
2118
export default config;

.storybook/preview.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Preview } from "@storybook/react";
1+
import type { Preview } from "@storybook/html";
22

33
const preview: Preview = {
44
parameters: {

LICENSE.md

-201
This file was deleted.

README.md

-16
This file was deleted.

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + TS</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.ts"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)