Кіраванне файламі cookie, якія выкарыстоўваюцца для рэкламы, такіх як персаналізацыя рэкламы, рэмаркетынг і аналіз эфектыўнасці рэкламы.
2.10.4. Install and launch Nuxt
Nuxt — free, open-source JavaScript library based on Vue.js, Nitro, and Vite.
Install Nuxt
- Install Nuxt globally:
cd ~ mkdir .node cd .node npm install nuxt - In the "Hosting account settings" section (or "Hosting → Hosting account settings"), add an alias with the name
nuxtand the value~/.node/node_modules/nuxt/bin/nuxt.mjs.
Install simple app
- Go to site root directory:
cd ~/example.com/www - Install a simple app example (during installation, you can just press Enter for all prompts):
npx nuxi@latest init my-app - Go to the app directory:
cd my-app - Perform the build:
npm run build
Launch
- In the "Site settings" section, set the following settings:
- Web server — Node.js.
- Node.js version — 18 or higher.
- Traffic proxying — By IP address.
- Root directory — name of your app's directory (for example,
my-app).
- In the app's
package.jsonfile, in thestartsection, specify thestartcommand asHOST=127.*.*.* nuxt start(specifying the desired IP). - Launch the app and check its operation.
(1)