@lavida/vue-template 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/vue-template.iml" filepath="$PROJECT_DIR$/.idea/vue-template.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/template/vue-tem" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "@lavida/vue-template",
3
+ "version": "1.0.0",
4
+ "description": "cli-lavida vue3 template",
5
+ "author": "songcf",
6
+ "license": "ISC",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ # vue-tem
2
+
3
+ cli-imooc vue template
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ presets: [
3
+ '@vue/cli-plugin-babel/preset'
4
+ ]
5
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "esnext",
5
+ "baseUrl": "./",
6
+ "moduleResolution": "node",
7
+ "paths": {
8
+ "@/*": [
9
+ "src/*"
10
+ ]
11
+ },
12
+ "lib": [
13
+ "esnext",
14
+ "dom",
15
+ "dom.iterable",
16
+ "scripthost"
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "vue-tem",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "serve": "vue-cli-service serve",
7
+ "build": "vue-cli-service build",
8
+ "lint": "vue-cli-service lint"
9
+ },
10
+ "dependencies": {
11
+ "core-js": "^3.8.3",
12
+ "vue": "^3.2.13"
13
+ },
14
+ "devDependencies": {
15
+ "@babel/core": "^7.12.16",
16
+ "@babel/eslint-parser": "^7.12.16",
17
+ "@vue/cli-plugin-babel": "~5.0.0",
18
+ "@vue/cli-plugin-eslint": "~5.0.0",
19
+ "@vue/cli-service": "~5.0.0",
20
+ "eslint": "^7.32.0",
21
+ "eslint-plugin-vue": "^8.0.3"
22
+ },
23
+ "eslintConfig": {
24
+ "root": true,
25
+ "env": {
26
+ "node": true
27
+ },
28
+ "extends": [
29
+ "plugin:vue/vue3-essential",
30
+ "eslint:recommended"
31
+ ],
32
+ "parserOptions": {
33
+ "parser": "@babel/eslint-parser"
34
+ },
35
+ "rules": {}
36
+ },
37
+ "browserslist": [
38
+ "> 1%",
39
+ "last 2 versions",
40
+ "not dead",
41
+ "not ie 11"
42
+ ]
43
+ }
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html>
2
+ <html lang="">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
+ <title><%= htmlWebpackPlugin.options.title %></title>
9
+ </head>
10
+ <body>
11
+ <noscript>
12
+ <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+ </noscript>
14
+ <div id="app"></div>
15
+ <!-- built files will be auto injected -->
16
+ </body>
17
+ </html>
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <div>Hello cli-Lavida</div>
3
+ </template>
4
+
5
+ <script setup >
6
+ </script>
7
+
8
+ <style>
9
+ </style>
@@ -0,0 +1,4 @@
1
+ import { createApp } from 'vue'
2
+ import App from './App.vue'
3
+
4
+ createApp(App).mount('#app')
@@ -0,0 +1,4 @@
1
+ const { defineConfig } = require('@vue/cli-service')
2
+ module.exports = defineConfig({
3
+ transpileDependencies: true
4
+ })