Skip to content

Commit

Permalink
chore: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pawanpaudel93 committed Dec 20, 2023
1 parent 07dd11f commit 96abf02
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Please follow this guide for different frameworks and libraries to reference the
### ReactJS
>
> Note: Use HashRouter from react-router-dom in React apps.
> **Note:** Use HashRouter from react-router-dom in React apps.
Set a `"homepage"` property in the `package.json` to `./`
Expand All @@ -440,7 +440,7 @@ Set a `"homepage"` property in the `package.json` to `./`
Or, add this line to the scripts in package.json and build your React project using this script.
```shell
"dragbuild": "PUBLIC_URL=./ react-scripts build"
"plbuild": "PUBLIC_URL=./ react-scripts build"
```
### NextJS (Static Export)
Expand All @@ -463,6 +463,8 @@ const nextConfig = {
module.exports = nextConfig
```
> **Note:** NextJS doesn't have a hash router and also dynamic routes are not supported when deployed. Also, for NextJS app to work properly, you need an [ArNS](https://arns.app/) domain.
### VueJS
Modify `vue.config.js` to include the following config and build your Vue project as you normally would:
Expand Down Expand Up @@ -499,7 +501,7 @@ export default defineConfig({
Or, add this line to the scripts in package.json and build your Vite project using this script.
```shell
"dragbuild" : "vite build --base ./"
"plbuild" : "vite build --base ./"
```
Be sure to read the documentation for your particular build tool or framework to learn how to configure correct asset paths.

0 comments on commit 96abf02

Please sign in to comment.