Skip to content

Commit

Permalink
fix: dev commands and initial version is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
alioguzhan committed Sep 25, 2023
1 parent bc66b1d commit 1bca344
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Create [DECAF](https://docs.decafhub.com/) Web applications with zero or minimal
```bash
npx create-decaf-webapp@latest my-app -a "My App"
cd my-app
npm start
npm run dev
```

> You can also install it globally with `npm i -g create-decaf-webapp`. But to ensure you always use the latest version, it is recommended to use `npx`.
Expand Down
4 changes: 2 additions & 2 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Once you clone the repository,
Now you can run the app in development mode with:

```bash
npm start
npm run dev
```

Then open [http://localhost:3000/webapps/--projectname--/development/](http://localhost:3000/webapps/--projectname--/development/) to see your app.
Expand All @@ -29,7 +29,7 @@ npm run build
To run the app in production mode, run:

```bash
npm run preview
npm run start
```

Now you can open your app on the same URL with the port 5000.
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "decaf-webapp-template",
"version": "0.0.1",
"version": "0.0.0",
"private": true,
"author": "--username-- <--usermail-->",
"scripts": {
Expand Down

0 comments on commit 1bca344

Please sign in to comment.