diff --git a/README.md b/README.md index b157807..710f598 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/template/README.md b/template/README.md index d029d66..fbf033f 100644 --- a/template/README.md +++ b/template/README.md @@ -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. @@ -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. diff --git a/template/package.json b/template/package.json index 87b4faf..5abdd8a 100644 --- a/template/package.json +++ b/template/package.json @@ -1,6 +1,6 @@ { "name": "decaf-webapp-template", - "version": "0.0.1", + "version": "0.0.0", "private": true, "author": "--username-- <--usermail-->", "scripts": {