Skip to content

Commit f47873d

Browse files
Migrate to VITE (#18)
* vite done * pr review change done * Update prod.yml --------- Co-authored-by: CodedThemes <77041536+phoenixcoded20@users.noreply.github.com>
1 parent ffa6c9f commit f47873d

File tree

148 files changed

+10480
-17947
lines changed

Some content is hidden

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

148 files changed

+10480
-17947
lines changed

.env

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
REACT_APP_VERSION = v2.0.0
1+
VITE_APP_VERSION = v3.0.0
22
GENERATE_SOURCEMAP = false
33

44
## Public URL
5-
PUBLIC_URL = https://codedthemes.com/demos/admin-templates/datta-able/react/free/
5+
PUBLIC_URL = https://codedthemes.com/demos/admin-templates/datta-able/react/free/
6+
VITE_APP_BASE_NAME= demos/admin-templates/datta-able/react/free
7+
8+
## Google Map Key
9+
VITE_APP_GOOGLE_MAPS_API_KEY=
10+

.env.development

Lines changed: 0 additions & 5 deletions
This file was deleted.

.env.qa

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/prod.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: 🚚 Get latest code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

25-
- name: Use Node.js 18
26-
uses: actions/setup-node@v3
25+
- name: Use Node.js 20
26+
uses: actions/setup-node@v4
2727
with:
28-
node-version: '18'
28+
node-version: '20.x'
2929

3030
- name: 🔨 Build Project
3131
run: |
@@ -37,9 +37,9 @@ jobs:
3737
env:
3838
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
3939
# ARGS: "-rltgoDzvO --delete"
40-
SOURCE: 'build/'
40+
SOURCE: 'dist/'
4141
REMOTE_HOST: 217.21.92.35
4242
REMOTE_USER: u778408432
4343
REMOTE_PORT: '65002'
4444
TARGET: domains/codedthemes.com/public_html/demos/admin-templates/datta-able/react/free
45-
EXCLUDE: '/template/dist/, /template/node_modules/'
45+
EXCLUDE: '/build/'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# production
1212
/build
13+
/dist
1314

1415
# misc
1516
.DS_Store

.yarn/install-state.gz

816 KB
Binary file not shown.

.yarn/releases/yarn-4.1.1.cjs

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-4.1.1.cjs

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ It is modern concept dashboard design with eye catchy colors. Wish you happy to
1818

1919
The [Pro version](https://codedthemes.com/demos/admin-templates/datta-able/react/default) of Datta able react template includes features such as TypeScript, apps, authentication methods (i.e. JWT, Auth0, Firebase), advance components, form plugins, layouts, widgets, and more.
2020

21-
| [Datta Able Free](https://codedthemes.com/demos/admin-templates/datta-able/react/free) | [Datta able Pro](https://codedthemes.com/demos/admin-templates/datta-able/react/default) |
22-
| ---------------------------------------------- | :------------------------------------------------------------------------------- |
23-
| **7+** Demo pages | **85+** Demo pages |
24-
| - | ✓ Multi-Layout |
25-
| - | ✓ Dark/Light Mode 🌓 |
26-
| - | ✓ TypeScript version |
27-
| - | ✓ Multiple color options |
28-
| - | ✓ RTL |
29-
| - | ✓ JWT, Firebase, Auth0, AWS authentication |
30-
| - |[More components](https://codedthemes.com/demos/admin-templates/datta-able/react/default/basic/alert) |
31-
| ✓ MIT License |[Pro License](https://codedthemes.com/item/datta-able-react-admin-template/) |
21+
| [Datta Able Free](https://codedthemes.com/demos/admin-templates/datta-able/react/free) | [Datta able Pro](https://codedthemes.com/demos/admin-templates/datta-able/react/default) |
22+
| -------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ |
23+
| **7+** Demo pages | **85+** Demo pages |
24+
| - | ✓ Multi-Layout |
25+
| - | ✓ Dark/Light Mode 🌓 |
26+
| - | ✓ TypeScript version |
27+
| - | ✓ Multiple color options |
28+
| - | ✓ RTL |
29+
| - | ✓ JWT, Firebase, Auth0, AWS authentication |
30+
| - |[More components](https://codedthemes.com/demos/admin-templates/datta-able/react/default/basic/alert) |
31+
| ✓ MIT License |[Pro License](https://codedthemes.com/item/datta-able-react-admin-template/) |
3232

3333
## Why Datta Able?
3434

@@ -117,7 +117,7 @@ yarn start
117117
- Redux & React context API for state management.
118118
- Redux toolkit.
119119
- React Router for navigation routing.
120-
- Support for react-script.
120+
- Support for vite.
121121
- Code splitting.
122122
- CSS-in-JS.
123123

File renamed without changes.

0 commit comments

Comments
 (0)