Cristiano Magro
2024-12-28 acdb17c44530e98df17d18b721f9cee40694b331
start initial project for lesson
10 files added
12246 ■■■■■ changed files
07 - development setup/vue-cli-01-a-new-vue-project/.browserslistrc 3 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/.eslintrc.js 17 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/.gitignore 22 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/HOW-TO-USE.pdf patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/babel.config.js 5 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/package-lock.json 12152 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/package.json 23 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/public/favicon.ico patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/public/index.html 21 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/src/main.js 3 ●●●●● patch | view | raw | blame | history
07 - development setup/vue-cli-01-a-new-vue-project/.browserslistrc
New file
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
07 - development setup/vue-cli-01-a-new-vue-project/.eslintrc.js
New file
@@ -0,0 +1,17 @@
module.exports = {
  root: true,
  env: {
    node: true
  },
  'extends': [
    'plugin:vue/vue3-essential',
    'eslint:recommended'
  ],
  parserOptions: {
    parser: 'babel-eslint'
  },
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
  }
}
07 - development setup/vue-cli-01-a-new-vue-project/.gitignore
New file
@@ -0,0 +1,22 @@
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
07 - development setup/vue-cli-01-a-new-vue-project/HOW-TO-USE.pdf
Binary files differ
07 - development setup/vue-cli-01-a-new-vue-project/babel.config.js
New file
@@ -0,0 +1,5 @@
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ]
}
07 - development setup/vue-cli-01-a-new-vue-project/package-lock.json
New file
Diff too large
07 - development setup/vue-cli-01-a-new-vue-project/package.json
New file
@@ -0,0 +1,23 @@
{
  "name": "vue-first-app",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "core-js": "^3.6.5",
    "vue": "^3.0.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^5.0.8",
    "@vue/cli-plugin-eslint": "^5.0.8",
    "@vue/cli-service": "^5.0.8",
    "@vue/compiler-sfc": "^3.0.0-0",
    "babel-eslint": "^10.1.0",
    "eslint": "^7.32.0",
    "eslint-plugin-vue": "^8.7.1"
  }
}
07 - development setup/vue-cli-01-a-new-vue-project/public/favicon.ico
07 - development setup/vue-cli-01-a-new-vue-project/public/index.html
New file
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
07 - development setup/vue-cli-01-a-new-vue-project/src/main.js
New file
@@ -0,0 +1,3 @@
import { createApp } from 'vue';
createApp({}).mount('');