Aniverse official site
Aniverse is an open source database for hebrew anime translations.
- Nuxt.js
Nuxt is a progressive framework based on Vue.js to create modern web applications.
Check out Nuxt.js docs. - Tailwind CSS
Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.
Check out Tailwind CSS docs.
Install dependencies:
$ npm ci
Or install and update dependencies (update package-lock):
$ npm install
Serve with hot reload at localhost:3000
$ npm run dev
Run tests:
$ npm run test
Find lint problems:
$ npm run lint
Build and launch production static server (current):
$ npm run generate
$ npm run start
Or build and launch production SSR server:
$ npm run build
$ npm run start
VS Code prompts a user to install the recommended extensions when the workspace is opened for the first time. The user can also review the list with the
Extensions: Show Recommended Extensions
command.
Required:
Recommended:
- Jest
- Vue Peek
- Tailwind CSS IntelliSense
- TabNine
- Auto Rename Tag
- Markdown Preview Github Styling
- npm
- GitLens
- vscode-icons
- Todo Tree
For simple debugging just run npm run dev
to serve the site with hot reloading
at localhost:3000, and open the site in any browser.
- Best for live HTML editing. Edit the code and watch the browser window change.
- You can use the browser devtools, like CSS Editor, Breakpoints and Network Analysis.
It's recommended to use Vue.js devtools for chrome when in chrome.
To directly debug from VSCode with all its capabilities:
In VSCode, select Launch Nuxt Server/Client
in the debugger drop-down menu, and start debugging
by clicking on the green arrow or pressing F5
.
If your server is already running (by npm run dev
somewhere), you can start faster only the
client debugger by selecting Launch client: chrome
in the drop-down menu.
- VSCode is probably better for JavaScript debugging.
- VSCode is a great way to debug the build process or the Server-Side Rendering.
- Also has hot reloading.
VSCode Debugging requires the Debugger for Chrome extension.
TODO...
master
: The main branch. All development code is merged intomaster
in sometime.prod
: Everything pushed toprod
updates the real production site.preprod
: Everything pushed topreprod
updates the real pre-production site.
Tip: To be sure the latest commit to
prod
orpreprod
has updated the site, open the site in the browser and open the DevTools Console. You will see a logged message:LAST_COMMIT_SHA: <sha>
.
Just compare the<sha>
to the latest commit in theprod
/preprod
branch.