diff --git a/example/.eslintrc.js b/example/.eslintrc.js
index 301ff1de..ae346714 100644
--- a/example/.eslintrc.js
+++ b/example/.eslintrc.js
@@ -3,10 +3,11 @@ module.exports = {
env: {
node: true
},
- 'extends': [
+ extends: [
'plugin:vue/essential',
'eslint:recommended',
- '@vue/typescript'
+ '@vue/typescript',
+ 'codex'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
@@ -15,4 +16,4 @@ module.exports = {
parserOptions: {
parser: '@typescript-eslint/parser'
}
-}
+};
diff --git a/example/babel.config.js b/example/babel.config.js
index e9558405..3f453d44 100644
--- a/example/babel.config.js
+++ b/example/babel.config.js
@@ -2,4 +2,4 @@ module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
-}
+};
diff --git a/example/package.json b/example/package.json
index 6ed9b93e..31101abc 100644
--- a/example/package.json
+++ b/example/package.json
@@ -9,9 +9,11 @@
},
"dependencies": {
"core-js": "^3.3.2",
+ "postcss-nested": "^4.1.2",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
- "vue-property-decorator": "^8.3.0"
+ "vue-property-decorator": "^8.3.0",
+ "vue-unique-id": "^2.0.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",
@@ -20,6 +22,7 @@
"@vue/cli-service": "^4.0.0",
"@vue/eslint-config-typescript": "^4.0.0",
"eslint": "^5.16.0",
+ "eslint-config-codex": "github:codex-team/eslint-config",
"eslint-plugin-vue": "^5.0.0",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
diff --git a/example/postcss.config.js b/example/postcss.config.js
index 961986e2..42d4ccba 100644
--- a/example/postcss.config.js
+++ b/example/postcss.config.js
@@ -1,5 +1,6 @@
module.exports = {
plugins: {
+ 'postcss-nested': {},
autoprefixer: {}
}
-}
+};
diff --git a/example/public/index.html b/example/public/index.html
index e4907f60..d7e8592d 100644
--- a/example/public/index.html
+++ b/example/public/index.html
@@ -5,6 +5,7 @@
CodeX.Music Demo
+