Please refer Faq's
page in documentation
itself for queries and customization like Colors, RTL, Dark
style..etc.
npm install -g create-nuxt-app
npx create-nuxt-app Your-project-name
cd You-project-name
npm run dev
This command will start the development server, and you can access your Nuxt.js application in your browser at http://localhost:3000.
Download latest version of node.js from
nodejs.org.
Install Node.js using downloaded file.
To check your node version, run node -v in a terminal/console window (cmd)
Ynex/Nuxtjs-file>
npm install
(or)yarn install
Once you serve your application by default it will take their default port using http://localhost:3000/npm run dev
(or)yarn dev
basically npm install is used to install all dependencies or devDependencies from a package. if there will be any dependencies which need to be installed but getting error message while installing, then use --force will help to install those dependencies.
The --force argument will force npm to fetch remote resources even if a local copy exists on disk. It will be on a last-dependency-downloaded-wins basis and will overwrite any previously downloaded dependencies.
npm install --force
npm install
If your are using npm install, You have to delete the yarn.lock
yarn-lock file
(or)
yarn install
If your are using yarn install, You have to delete the package-lock.json
(or)
yarn install --network-timeout 1000000
If yarn will getting timeout issue use this command
package-lock.json file
we have to use only one file example: (for yarn yarn-lock) & (for npm package-lock.json) file
basically npm i is used to install all dependencies or devDependencies from a package. if there will be any dependencies which need to be installed but getting error message while installing, then --force will help to install those dependencies.
The --force argument will force npm to fetch remote resources even if a local copy exists on disk. It will be on a last-dependency-downloaded-wins basis and will overwrite any previously downloaded dependencies.
npm install --force
if there is peer dependency issues while installingnpm install--legacy-peer-deps
we have to use only one file example: (for yarn yarn-lock) & (for npm package-lock.json) file
To Upload your static application for host on server using below command:
app: { baseURL: '/ynex/preview', // Replace with your desired base path }, publicPath: '/ynex/preview/', vite: { define: { 'import.meta.env.BASE_URL': JSON.stringify('/ynex/preview/'), }, }, env: { BASE_URL: '/ynex/preview', },
npm run generate
This command will create a dist or .output/public directory containing the static files of your Nuxt.js application.
Upload those files in your server to access them globally.