docs: add README
This commit is contained in:
parent
e608aeee15
commit
131965d268
15
README.md
15
README.md
@ -1,5 +1,14 @@
|
||||
# Vue 3 + Vite
|
||||
# pinia-vue
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
||||
## Мини курс по Pinia
|
||||
[](https://www.youtube.com/watch?v=ok9PE-XwXro)
|
||||
|
||||
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
|
||||
### Функционал
|
||||
- Поиск
|
||||
- Отображение списка
|
||||
- Сохранение в Local Storage
|
||||
|
||||
|
||||
### Стек
|
||||
- Vue 3
|
||||
- Pinia
|
||||
|
||||
@ -2,7 +2,7 @@ import { defineStore } from 'pinia';
|
||||
import { useMovieStore } from './movie-store.js';
|
||||
import { ref } from 'vue';
|
||||
|
||||
const url = `https:api.themoviedb.org/3/search/movie?api_key=${import.meta.env.VITE_API_KEY}&query=`;
|
||||
const url = `https://api.themoviedb.org/3/search/movie?api_key=${import.meta.env.VITE_API_KEY}&query=`;
|
||||
|
||||
export const useSearchStore = defineStore('search-store', () => {
|
||||
const loading = ref(false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user