Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Open Source Angular Material Theme as SPA for freelancers based on Start Bootstrap Theme

License

NotificationsYou must be signed in to change notification settings

angular-material-extensions/freelancer-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-material-extensions's logo

@angular-material-extensions/freelancer-theme - Open Source Angular Material Theme as SPA for freelancers based onStart Bootstrap Theme

npm demoJoin the chat at https://gitter.im/angular-material-extensions/LobbycodecovCircleCI branchdependency StatusdevDependency StatusGreenkeeper Badgelicense

@angular-material-extensions/freelancer-theme screenshot

Built by and for developers ❤️

Do you have any question or suggestion ? Please do not hesitate to contact us!Alternatively, provide a PR | open an appropriate issuehere

If did you like this project, supportangular-material-extensionsby starring ⭐ and sharing it 📢

Table of Contents

View all the directives and components in action athttps://angular-material-extensions.github.io/freelancer-theme

✔️ | SPA
✔️ | Easy to setup
✔️ | Fully Customizable viaconfig.ts
✔️ | Built with Angular V7
✔️ | Material Design
✔️ | SEO friendly with angular universal

  1. Star this project then clone or fork the repository
git clone https://github.com/angular-material-extensions/freelancer-theme.git
  1. Go to the project folder and install the dependencies:
cd freelancer-theme&& npm install
  1. Adapt the configuration fileconfig.ts to suit your profile (see the below and usage section)

  2. Launch development server, and openlocalhost:4200 in your browser:

npm start
dist/                        web app production builddocs/                        project docs and coding guidese2e/                         end-to-end testssrc/                         project source code|- app/                      app components|  |- core/                  core module (singleton services and single-use components)|  |- shared/                shared module  (common components, directives and pipes)|  |- app.component.*        app root component (shell)|  |- app.module.ts          app root module definition|  |- app-routing.module.ts  app routes|  +- ...                    additional modules and components|- assets/                   app assets (images, fonts, sounds...)|- environments/             values for various build environments|- theme/                    app global scss variables and theme|- translations/             translations files|- config.ts/                CONFIGURE THE SPA ON YOUR OWN HERE|- index.html                html entry point|- main.scss                 global style entry point|- main.ts                   app entry point|- polyfills.ts              polyfills needed by Angular+- test.ts                   unit tests entry pointreports/                     test and coverage reportsproxy.conf.js                backend proxy configuration
  1. Open theconfig.ts file and adjust the properties to suit your profile
exportconstDEFAULT_CONFIG:Config={title:'Angular Material Freenlancer Theme',description:'Web Developer - Graphic Artist - User Experience Designer',url:'https://github.com/angular-material-extensions/freelancer-theme',domain:'github.com',projects:projects,about:{section1:'This Freelancer Theme is a free material theme created by angular material extensions based on Start'+' Bootstrap.The download includes the complete source files including HTML, CSS, and JavaScript as well as '+'optional LESS stylesheets for easy customization.',section2:'Whether you are a student looking to showcase your work, a'+' professional looking to attract clients, or a graphic artist looking to share your projects, this template '+'is the perfect starting point!'},social:{facebook:'https://www.facebook.com/',twitter:'https://twitter.com/ngAnthonyy',github:'https://github.com/AnthonyNahas',linkedin:'https://www.linkedin.com/in/anthony-nahas-926245119/'},address:{country:'Germany',state:'Niedersachen',city:'Göttingen',street:'meine Strasse',zip:'1234'}};
  1. Openpackage.json and replacefreelance-theme with either your favourite or repository name

  2. Change or remove the Track ID of Google Analytics in theindex.html file and adjust the meta tags for SEO purposes

  3. Build or prerender the SPAa. Normal production build vianpm run build:prodb. Prerendered production build vianpm run build:prerender

  4. Deploy thedist directory to your favorite hosting service like github pages, firebase hosting, heroku...

per default this project uses github pages to host the app. This can be achieved vianpm run deploy:demo

Main tasks

Task automation is based onNPM scripts.

TaskDescription
npm startRun development server onhttp://localhost:4200/
npm run serve:swRun test server onhttp://localhost:4200/ with service worker enabled
npm run build [-- --configuration=production]Lint code and build web app for production (withAOT) indist/ folder
npm testRun unit tests viaKarma in watch mode
npm run test:ciLint code and run unit tests once for continuous integration
npm run e2eRun e2e tests usingProtractor
npm run lintLint code
npm run translations:extractExtract strings from code and templates tosrc/app/translations/template.json
npm run docsDisplay project documentation
npm run prettierAutomatically format all.ts,.js &.scss files

When building the application, you can specify the target configuration using the additional flag--configuration <name> (do not forget to prepend-- to pass arguments to npm scripts).

The default build configuration isprod.

Development server

Runnpm start for a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you changeany of the source files.You should not useng serve directly, as it does not use the backend proxy configuration by default.

Code scaffolding

Runnpm run generate -- component <name> to generate a new component. You can also usenpm run generate -- directive|pipe|service|class|module.

If you have installedangular-cli globally withnpm install -g @angular/cli,you can also use the commandng generate directly.

Additional tools

Tasks are mostly based on theangular-cli tool. Useng help to get more help or go check out theAngular-CLI README.

Code formatting

All.ts,.js &.scss files in this project are formatted automatically usingPrettier,and enforced via thetest:ci script.

A pre-commit git hook has been configured on this project to automatically format staged files, using(pretty-quick)[https://github.com/azz/pretty-quick], so you don't have to care for it.

You can also force code formatting by running the commandnpm run prettier.

What's in the box

The app template is based onHTML5,TypeScript andSass. The translation files use the commonJSON format.

Tools

Development, build and quality processes are based onangular-cli andNPM scripts, which includes:

Libraries

Coding guides

Other documentation

Built by and for developers ❤️ we will help you 👊

License

Copyright (c) 2019Anthony Nahas. Licensed under the MIT License (MIT)

About

Open Source Angular Material Theme as SPA for freelancers based on Start Bootstrap Theme

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp