Travelix Report Website - https://travelix2.vercel.app/
- Clone:
git clone https://github.com/onwidget/tailnext.git
- Enter in the directory:
cd tailnext
- Install dependencies:
npm install
- Start the development server:
npm run dev
- View project in local environment:
localhost:3000
Inside Tailnext template, you'll see the following folders and files:
/
├── app/
│ ├── (blog)
│ │ ├── [slug]
| | | └── page.js
| | └── blog
| | └── page.js
│ ├── head.js
│ ├── layout.js
│ └── page.js
├── public/
│ └── favicon.svg
├── src/
│ ├── assets/
│ │ ├── images/
| | └── styles/
| | └── base.css
│ ├── components/
│ │ ├── atoms/
| | └── widgets/
| | ├── Header.astro
| | ├── Footer.astro
| | └── ...
│ │── content/
│ | └── blog/
│ | ├── demo-post-1.md
│ | └── ...
│ ├── utils/
│ └── config.mjs
├── package.json
└── ...
Seasoned next.js expert? Delete this file. Update
config.mjs
and contents. Have fun!
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Install dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run format |
Format codes with Prettier |
npm run lint:eslint |
Run Eslint |
Coming soon ..
You can create an optimized production build with:
npm run build
Now, your website is ready to be deployed. All generated files are located at
dist
folder, which you can deploy the folder to any hosting service you
prefer.
Clone this repository on own GitHub account and deploy to Netlify:
Clone this repository on own GitHub account and deploy to Vercel: