Skip to content

Commit

Permalink
init portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
VachetVirginie committed Sep 20, 2023
1 parent bb28426 commit a9f6452
Show file tree
Hide file tree
Showing 19,941 changed files with 3,020,080 additions and 40 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
88 changes: 88 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"env": {
"node": true,
"browser": true,
"commonjs": true,
"es6": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"parser": "babel-eslint"
},
"rules": {
"array-bracket-newline": [
"error",
{
"multiline": false
}
],
"brace-style": [
"error",
"1tbs"
],
"default-case": [
"error"
],
"function-paren-newline": [
"error",
"multiline"
],
"indent": [
"error",
4,
{
"SwitchCase": 1,
"FunctionDeclaration": { "parameters": "first" },
"CallExpression": { "arguments": "first" },
"ArrayExpression": "first",
"ObjectExpression": "first",
"ignoreComments": true
}
],
"linebreak-style": [
"error",
"unix"
],
"no-console": "off",
"no-trailing-spaces": [
"error",
{
"skipBlankLines" : false
}
],
"object-curly-newline": [
"error",
{
"minProperties": 2,
"consistent": true
}
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"vue/attribute-hyphenation": "off",
"vue/html-indent": [
"error",
2
],
"vue/html-closing-bracket-newline": [
"error",
{
"singleline": "never",
"multiline": "never"
}
],
"vue/singleline-html-element-content-newline": "off"
}
}
19 changes: 19 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Jest
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "14"

# Install required deps for action
- name: Install Dependencies
run: yarn install

# Finally, run our tests
- name: Run the tests
run: yarn test:unit
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
.idea
.DS_Store
package-lock.json
.deploy*/
*.log
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
lint:
yarn lint --fix

serve:
yarn serve

test:
yarn test:unit
41 changes: 1 addition & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,3 @@
# vue3-tailwind2

This repository can serve as a starting point to create Vue.js v3 applications with TailwindCSS v2.

**It's already configured to purge unused classes for production**.

You can create component classes using Tailwind's @apply directive in the [app.scss](./src/assets/css/app.scss) file.

> This project was used as an example for the article posted in my blog: [How to add Tailwind v2 to a Vue.js 3 project](https://antonioufano.com/articles/how-to-add-tailwind-v2-to-a-vuejs-3-project)
## Author

Antonio Ufano - [Web](https://antonioufano.com) - [Blog](https://antonioufano.com/blog) - [Twitter](https://twitter.com/uf4no)

## Project setup

```
npm install
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

### Lints and fixes files

```
npm run lint
```
# vvachet

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).
# vvachet
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"]
};
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
};
Loading

0 comments on commit a9f6452

Please sign in to comment.