├── app.vue ├── .gitignore ├── assets └── css │ └── tailwind.css ├── postcss.config.js ├── tsconfig.json ├── .idea ├── .gitignore ├── codeStyles │ └── codeStyleConfig.xml ├── inspectionProfiles │ └── Project_Default.xml ├── modules.xml └── nuxt-three-basics.iml ├── tailwind.config.js ├── package.json ├── README.md ├── nuxt.config.ts └── pages └── index.vue /app.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log* 3 | .nuxt 4 | .nitro 5 | .cache 6 | .output 7 | .env -------------------------------------------------------------------------------- /assets/css/tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | // https://v3.nuxtjs.org/concepts/typescript 3 | "extends": "./.nuxt/tsconfig.json" 4 | } 5 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Editor-based HTTP Client requests 5 | /httpRequests/ 6 | -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: [ 3 | "./components/**/*.{js,vue,ts}", 4 | "./layouts/**/*.vue", 5 | "./pages/**/*.vue", 6 | "./plugins/**/*.{js,ts}", 7 | "./nuxt.config.{js,ts}", 8 | "./app.vue" 9 | ], 10 | theme: { 11 | extend: {}, 12 | }, 13 | plugins: [], 14 | } 15 | -------------------------------------------------------------------------------- /.idea/nuxt-three-basics.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "build": "nuxt build", 5 | "dev": "nuxt dev", 6 | "generate": "nuxt generate", 7 | "preview": "nuxt preview" 8 | }, 9 | "devDependencies": { 10 | "@nuxtjs/tailwindcss": "^5.0.4", 11 | "autoprefixer": "^10.4.7", 12 | "nuxt": "3.0.0-rc.3", 13 | "postcss": "^8.4.13", 14 | "sass": "^1.51.0", 15 | "sass-loader": "10", 16 | "tailwindcss": "^3.0.24" 17 | }, 18 | "dependencies": { 19 | "bootstrap": "^5.1.3", 20 | "bootstrap-vue": "^2.22.0", 21 | "bootstrap-vue-3": "^0.1.12", 22 | "axios": "^0.27.2", 23 | "vue": "^3.2.33" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nuxt 3 Minimal Starter 2 | 3 | Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more. 4 | 5 | ## Setup 6 | 7 | Make sure to install the dependencies: 8 | 9 | ```bash 10 | # yarn 11 | yarn install 12 | 13 | # npm 14 | npm install 15 | 16 | # pnpm 17 | pnpm install --shamefully-hoist 18 | ``` 19 | 20 | ## Development Server 21 | 22 | Start the development server on http://localhost:3000 23 | 24 | ```bash 25 | npm run dev 26 | ``` 27 | 28 | ## Production 29 | 30 | Build the application for production: 31 | 32 | ```bash 33 | npm run build 34 | ``` 35 | 36 | Locally preview production build: 37 | 38 | ```bash 39 | npm run preview 40 | ``` 41 | 42 | Checkout the [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information. 43 | -------------------------------------------------------------------------------- /nuxt.config.ts: -------------------------------------------------------------------------------- 1 | import {defineNuxtConfig} from 'nuxt' 2 | 3 | export default defineNuxtConfig({ 4 | modules: ['bootstrap-vue-3/nuxt'], 5 | buildModules: ['@nuxtjs/tailwindcss'], 6 | css: [ 7 | '@/assets/css/tailwind.css', 8 | 'bootstrap/dist/css/bootstrap.css' 9 | ], 10 | build: { 11 | postcss: { 12 | postcssOptions: { 13 | plugins: { 14 | tailwindcss: {}, 15 | autoprefixer: {}, 16 | }, 17 | } 18 | }, 19 | }, 20 | app: { 21 | head: { 22 | titleTemplate: '%s - ' + process.env.npm_package_name, 23 | meta: [ 24 | {charset: 'utf-8'}, 25 | {name: 'viewport', content: 'width=device-width, initial-scale=1'}, 26 | {hid: 'description', name: 'description', content: process.env.npm_package_description || ''} 27 | ], 28 | script: [ 29 | {src: 'https://code.jquery.com/jquery-3.3.1.slim.min.js'}, 30 | {src: 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js'}, 31 | {src: 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js'}, 32 | {src: 'https://telegram.org/js/telegram-web-app.js'} 33 | ] 34 | } 35 | } 36 | }) 37 | -------------------------------------------------------------------------------- /pages/index.vue: -------------------------------------------------------------------------------- 1 | 60 | 61 | 74 | 75 | 110 | --------------------------------------------------------------------------------