cjs
Hunter 3 years ago
parent 345cd1864d
commit 4c07b78b6c

@ -0,0 +1,2 @@
assets
mock

@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:vue/essential",
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"semi": [2, "never"],
"comma-dangle": 0,
"no-console": 0,
"quotes": [2, "single"],
"no-undef": 0,
"no-debugger": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"no-param-reassign": 0,
"vue/multi-word-component-names": 0,
"vue/no-multiple-template-root": 0,
"import/no-extraneous-dependencies": 0
}
}

3098
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -8,7 +8,9 @@
"build": "vite build", "build": "vite build",
"build:staging": "vite build --mode=staging", "build:staging": "vite build --mode=staging",
"preview": "npm run build && vite preview", "preview": "npm run build && vite preview",
"preview:staging": "npm run build:staging && vite preview --mode=staging" "preview:staging": "npm run build:staging && vite preview --mode=staging",
"lint": "eslint ./src --ext .js,.vue",
"lint:fix": "eslint ./src --ext .js,.vue --fix"
}, },
"dependencies": { "dependencies": {
"axios": "^0.27.0", "axios": "^0.27.0",
@ -20,6 +22,9 @@
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^2.3.1", "@vitejs/plugin-vue": "^2.3.1",
"autoprefixer": "^10.4.5", "autoprefixer": "^10.4.5",
"eslint": "^8.14.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-vue": "^8.7.1",
"less": "^4.1.2", "less": "^4.1.2",
"less-loader": "^10.2.0", "less-loader": "^10.2.0",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",

@ -3,7 +3,7 @@
</template> </template>
<script> <script>
export default { export default {
name: 'App' name: 'App'
} }
</script> </script>

@ -5,16 +5,16 @@
</template> </template>
<script> <script>
export default { export default {
name: 'Demo', name: 'Demo',
setup() { setup() {
}, },
methods: { methods: {
handleClick() { handleClick() {
this.$Message.success('Welcome to ViewUIPlus Demo!') this.$Message.success('Welcome to ViewUIPlus Demo!')
}
} }
} }
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>

@ -1,8 +1,8 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import ViewUIPlus from 'view-design'
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router'
import store from './store' import store from './store'
import ViewUIPlus from 'view-design'
import 'view-design/dist/styles/viewuiplus.css' import 'view-design/dist/styles/viewuiplus.css'
import './styles' import './styles'
// import './mock' // import './mock'

@ -3,17 +3,18 @@
</template> </template>
<script> <script>
import Demo from '@/components/Demo' import Demo from '@/components/Demo'
export default {
name: 'Home', export default {
components: { name: 'Home',
Demo components: {
}, Demo
setup() { },
}, setup() {
methods: { },
} methods: {
} }
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>

Loading…
Cancel
Save