diff --git a/bristol-js/.gitignore b/bristol-js/.gitignore new file mode 100644 index 0000000..403adbc --- /dev/null +++ b/bristol-js/.gitignore @@ -0,0 +1,23 @@ +.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? diff --git a/bristol-js/README.md b/bristol-js/README.md new file mode 100644 index 0000000..a3627d0 --- /dev/null +++ b/bristol-js/README.md @@ -0,0 +1,24 @@ +# bristoljs-demo + +## Project setup +``` +yarn install +``` + +### Compiles and hot-reloads for development +``` +yarn serve +``` + +### Compiles and minifies for production +``` +yarn build +``` + +### Lints and fixes files +``` +yarn lint +``` + +### Customize configuration +See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/bristol-js/babel.config.js b/bristol-js/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/bristol-js/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/bristol-js/package.json b/bristol-js/package.json new file mode 100644 index 0000000..891f736 --- /dev/null +++ b/bristol-js/package.json @@ -0,0 +1,44 @@ +{ + "name": "bristoljs-demo", + "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", + "tailwindcss": "^1.8.5", + "vue": "^2.6.11" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "~4.5.0", + "@vue/cli-plugin-eslint": "~4.5.0", + "@vue/cli-service": "~4.5.0", + "babel-eslint": "^10.1.0", + "eslint": "^6.7.2", + "eslint-plugin-vue": "^6.2.2", + "tailwindcss-aspect-ratio": "^3.0.0", + "vue-template-compiler": "^2.6.11" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "parserOptions": { + "parser": "babel-eslint" + }, + "rules": {} + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not dead" + ] +} diff --git a/bristol-js/postcss.config.js b/bristol-js/postcss.config.js new file mode 100644 index 0000000..378bc50 --- /dev/null +++ b/bristol-js/postcss.config.js @@ -0,0 +1,5 @@ +module.exports = { + plugins: [ + require('tailwindcss') + ] +} diff --git a/bristol-js/public/favicon.ico b/bristol-js/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/bristol-js/public/favicon.ico differ diff --git a/bristol-js/public/index.html b/bristol-js/public/index.html new file mode 100644 index 0000000..831a6f0 --- /dev/null +++ b/bristol-js/public/index.html @@ -0,0 +1,19 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + + + +
+ + + diff --git a/bristol-js/src/App.vue b/bristol-js/src/App.vue new file mode 100644 index 0000000..b153d54 --- /dev/null +++ b/bristol-js/src/App.vue @@ -0,0 +1,118 @@ + + + + +