Skip to content

Commit 30fecb0

Browse files
committed
first commit
0 parents  commit 30fecb0

22 files changed

+1388
-0
lines changed

Diff for: .gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
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?

Diff for: README.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# OWL-Vite-TypeScript-Tailwind-Starter
2+
3+
This is a template for OWL 2, that use:
4+
- Vite
5+
- OWL 2
6+
- TypeScript
7+
- TailwindCSS
8+
9+
## Usage
10+
11+
### Install
12+
13+
```bash
14+
pnpm install
15+
```
16+
17+
### Dev
18+
19+
```bash
20+
pnpm run dev
21+
```
22+
23+
### Preview build
24+
25+
```bash
26+
pnpm run preview
27+
```
28+
29+
### Build
30+
31+
```bash
32+
pnpm run build
33+
```

Diff for: favicon.svg

+15
Loading

Diff for: 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 + OWL + TS</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.ts"></script>
12+
</body>
13+
</html>

Diff for: package.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "owl-vite",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc && vite build",
9+
"preview": "vite preview"
10+
},
11+
"devDependencies": {
12+
"autoprefixer": "^10.4.8",
13+
"postcss": "^8.4.14",
14+
"tailwindcss": "^3.1.7",
15+
"typescript": "^4.6.4",
16+
"vite": "^3.0.0"
17+
},
18+
"dependencies": {
19+
"@odoo/owl": "2.0.0-beta-16"
20+
}
21+
}

0 commit comments

Comments
 (0)