Boilerplate to start localized static site. Includes two static routs and dynamic routes and metadata for each page.
Make sure to install the dependencies:
# npm
npm install
Start the development server on http://localhost:3000
:
# npm
npm run dev
Build the application for production:
# npm
npx nuxi generate
Check out the deployment documentation for more information.
Then copy content of dist
folder to public
folder of your web site.
If necessary create .htaccess and robots.txt files.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ /index.html [L]
User-agent: *
Disallow: